Skip to content

Commit

Permalink
Change version format
Browse files Browse the repository at this point in the history
  • Loading branch information
Thodor12 committed Aug 20, 2024
1 parent 41bd1b1 commit 87ddcae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
search_commit_body: true
debug: true
bump_each_commit: true
version_format: "${{ steps.minecraftVersion.outputs.minecraft_version }}-${major}.${minor}.${patch}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || format('branch-{0}', steps.computeBranchSuffix.outputs.branch_suffix) }}"
version_format: "${major}.${minor}.${patch}-${{ steps.minecraftVersion.outputs.minecraft_version }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || format('branch-{0}', steps.computeBranchSuffix.outputs.branch_suffix) }}"

gradle:
needs: [ "compute-version" ] # Make sure we now the version before starting to build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle.publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
search_commit_body: true
debug: true
bump_each_commit: true
version_format: "${{ steps.minecraftVersion.outputs.minecraft_version }}-${major}.${minor}.${patch}-${{ inputs.curse_release_type }}"
version_format: "${major}.${minor}.${patch}-${{ steps.minecraftVersion.outputs.minecraft_version }}-${{ inputs.curse_release_type }}"

notify-build-start:
needs: ["compute-version"]
Expand Down

0 comments on commit 87ddcae

Please sign in to comment.