Skip to content

Commit

Permalink
Improve release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed Mar 26, 2024
1 parent 4d1694b commit 86270e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
tag: ${{ github.ref_name }}

- name: Bump Cargo version
id: version-bump
uses: DervexDev/file-version-bumper@v1
with:
path: ./Cargo.toml
Expand All @@ -29,11 +30,13 @@ jobs:

- name: Commit and Push
uses: EndBug/add-and-commit@v9
if: ${{ github.ref_name != steps.version-bump.outputs.old_version }}
with:
message: Bump Version to ${{ github.ref_name }}
message: Bump version to ${{ github.ref_name }}
default_author: github_actions

- name: Update tag
if: ${{ github.ref_name != steps.version-bump.outputs.old_version }}
run: |
git tag -fa ${{ github.ref_name }} -m "Release ${{ github.ref_name }}"
git push -f --tags
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
### Added

- Support for `legacy_scripts` and `keep_unknowns` fields
- Ability to re-release the same version when needed

### Improved

- Instance source tracking and meta management

### Fixed

- `.src` and `init` files
- `.src` and `init` files in `sourcemap` subcommand

## [2.0.0-pre5] - 2024-03-22

Expand Down

0 comments on commit 86270e4

Please sign in to comment.