Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
anisAronno committed Oct 23, 2024
2 parents 84737a9 + fe1aa9a commit 413e7bc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 39 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,39 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: master
token: ${{ secrets.GH_TOKEN }} # Use the secret you added for authentication
token: ${{ secrets.GH_TOKEN }} # Use the secret for authentication
ref: master # Checkout the master branch first

- 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
- name: Commit updated CHANGELOG to master
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: master
branch: master # Commit to master branch
commit_message: "Update Changelog for version ${{ github.event.release.tag_name }}"
file_pattern: CHANGELOG.md
token: ${{ secrets.GH_TOKEN }} # Use the secret here for pushing changes
token: ${{ secrets.GH_TOKEN }}

- name: Checkout develop branch
run: |
git fetch origin
git checkout develop # Switch to the develop branch
git pull origin develop
- name: Update Changelog for develop branch
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG to develop
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: develop # Commit to develop branch
commit_message: "Update Changelog for version ${{ github.event.release.tag_name }}"
file_pattern: CHANGELOG.md
token: ${{ secrets.GH_TOKEN }}
34 changes: 0 additions & 34 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,6 @@

All notable changes to `laravel-self-updater` will be documented in this file.

## v0.3.2 - 2024-10-23

### Release: Laravel Self Updater v0.3.2

🚀 **We're pleased to announce the release of Laravel Self Updater v0.3.2!**

This update focuses on improving project management and repository cleanliness with the following key changes:

##### What's Changed

- **Added Changelog File**:

- Introduced a structured changelog to document all notable changes, ensuring better transparency for future updates.

- **Implemented Git Workflow for Changelog Management**:

- Automated changelog generation using a new Git workflow, making it easier to track and update changes with every release.

- **Added Pull Request Template**:

- A standardized PR template is now in place to streamline contributions and maintain consistency across all pull requests.

- **Reset Git Cache**:

- Cleared and reset the Git cache to remove unnecessary or ignored files, ensuring a cleaner repository.



---

This version lays the groundwork for better project maintenance and contributions. Thanks for your continued support! 🎉

**Full Changelog**: https://github.com/anisAronno/laravel-self-updater/compare/v0.3.1...v0.3.2

## 0.3.1 - 2024-10-17

### What's Changed
Expand Down

0 comments on commit 413e7bc

Please sign in to comment.