Skip to content

Commit

Permalink
release version autoincrement
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammers21 committed Nov 21, 2023
1 parent 5f536ac commit 25ee999
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: echo ::set-env name=version::0.2
- name: Get next version
uses: reecetech/version-increment@2023.9.3
id: version
with:
scheme: semver
increment: patch
- name: "Delete CurseForge restricted files"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
Expand All @@ -34,8 +40,8 @@ jobs:
with:
draft: false
prerelease: false
release_name: "v${{ steps.set_env.outputs.version }}"
tag_name: "v${{ steps.set_env.outputs.version }}"
release_name: "v$${{ steps.version.outputs.version }}"
tag_name: "v${{ steps.version.outputs.version }}"
body: "Relesing version ${{ steps.set_env.outputs.version }}"
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 25ee999

Please sign in to comment.