diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml deleted file mode 100644 index 2de93d4..0000000 --- a/.github/workflows/update-changelog.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: "Update Changelog" - -on: - release: - types: [released] - -jobs: - update: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - ref: main - - - name: Update Changelog - uses: stefanzweifel/changelog-updater-action@v1 - with: - latest-version: ${{ github.event.release.name }} - release-notes: ${{ github.event.release.body }} - - - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v5 - with: - create_branch: true - branch: update-changelog - commit_message: Update CHANGELOG - file_pattern: CHANGELOG.md - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - commit-message: Updated CHANGELOG.md - title: Updated CHANGELOG.md - body: Updated CHANGELOG.md - base: main - labels: automated-pr, update-changelog - branch: update-changelog - delete-branch: true diff --git a/CHANGELOG.md b/CHANGELOG.md index a760820..9b6518a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to `laravel-cookies-consent` will be documented in this file The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## v2.0.7 - UI Improvements for smaller screens - 2024-01-27 + +- Improved the UI design for smaller screens (phones & tablets) +- Fixed the width of the cookies container + ## v2.0.0 - Major Release - GDPR & UI Improvements - 2024-10-10 The v2 of the Laravel Cookies Consent plugin has been released! 🎉🥳😍 @@ -25,7 +30,7 @@ This version includes some important changes and improvements, such as: - Changed the background color of the "Allow all cookies" button, in order to be compliant with the GDPR rules - Fixed the padding of the button texts -## v.1.1.2 - Portoguese Language v2 +## v.1.1.2 - Portuguese Language v2 Added Portuguese Language corrections, thanks to this [PR](https://github.com/scify/laravel-cookies-consent/commit/a0ce037cd3bc82ca95c52ff30d2bf07236bd8306) diff --git a/README.md b/README.md index 2873bc4..640f679 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,8 @@ php artisan vendor:publish \ --tag="cookies-consent-assets" ``` -**Notice:** if a new version of the plugin has been released and you want to update the styles file, please make sure to use `--force` option, to overwrite the files. +**Notice:** if a new version of the plugin has been released and you want to update the styles file, please make sure to +use `--force` option, to overwrite the files. By doing so, the assets files will be copied to `public/vendor/cookies_consent`. @@ -435,6 +436,8 @@ After you have committed your changes, create a new git tag: git tag -a vx.y.z -m "This is a nice tag name" ``` +(for the `x.y.z` version number, follow the [Semantic Versioning](https://semver.org/) guidelines). + Then, push the tag: ```bash @@ -446,9 +449,7 @@ Then, in the [GitHub Releases page](https://github.com/scify/laravel-cookies-con That's it! Packagist will be updated automatically. -Also, the `.github/workflows/update-changelog.yml` GitHub action will run, and it will update the `CHANGELOG.md` file. - -Make sure that you run `git pull` afterwards, to get the updates. +Also, don't forget to update the `CHANGELOG.md` file with the new version name, release date, and release notes. ## Credits diff --git a/configure.php b/configure.php index 0b45129..cb0c963 100644 --- a/configure.php +++ b/configure.php @@ -240,10 +240,6 @@ function replaceForAllOtherOSes(): array { remove_composer_deps(['spatie/laravel-ray']); } -if (!$useUpdateChangelogWorkflow) { - safeUnlink(__DIR__ . '/.github/workflows/update-changelog.yml'); -} - confirm('Execute `composer install` and run tests?') && run('composer install && composer test'); confirm('Let this script delete itself?', true) && unlink(__FILE__);