ADD: Semantic versioning
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -27,6 +27,13 @@ jobs:
|
||||
name: ${{ matrix.name }} Release
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: 🔢 Semantic Versioning
|
||||
id: version
|
||||
uses: paulhatch/semantic-version@v5.3.0
|
||||
with:
|
||||
tag_prefix: "v"
|
||||
bump_each_commit: true
|
||||
|
||||
- name: 🚚 Checkout latest code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -49,7 +56,7 @@ jobs:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ${{ matrix.binary_path }}
|
||||
asset_name: ${{ matrix.asset_name }}
|
||||
tag: ${{ github.ref }}
|
||||
tag: ${{ steps.version.outputs.version_tag }}
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user