Skip to content

Commit

Permalink
3.6.1.2-SNAPSHOT
Browse files Browse the repository at this point in the history
-fix new CI tasks

Took 2 minutes
  • Loading branch information
Jake-Moore committed Oct 18, 2024
1 parent 018526d commit aaa0d4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gradle-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
# So that any PRs or commits that are merged to main won't be automatically released
# It will now require an intentional release by changing the version
- name: Increment Version
if: "!endsWith(steps.extract_version.outputs.version, 'SNAPSHOT')"
id: increment_version
run: |
# Extract the current version and split it into components
Expand All @@ -116,8 +117,9 @@ jobs:
# Push changes to the build.gradle.kts file
- name: Update VERSION in build.gradle.kts
if: "!endsWith(steps.extract_version.outputs.version, 'SNAPSHOT')"
run: |
new_version = ${{ steps.increment_version.outputs.new_version }}
new_version=${{ steps.increment_version.outputs.new_version }}
sed -i 's/^var VERSION = ".*"/var VERSION = "$new_version"/' build.gradle.kts
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit aaa0d4c

Please sign in to comment.