Skip to content

Commit

Permalink
Fix branch cut workflow git command (#497)
Browse files Browse the repository at this point in the history
## Goal

Update git command to set upstream

## Testing

Eff it, we're doing it live.
  • Loading branch information
bidetofevil committed Mar 4, 2024
1 parent ccc8fd3 commit 1e8fd1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
sed -i -r "s#version = ([^\']+)#version = ${{ github.event.inputs.version_to_release }}.0#" gradle.properties
git add gradle.properties
git commit -m "CI/CD: change version to be released: ${{ github.event.inputs.version_to_release }}.0"
git push
git push --set-upstream origin release/${{ github.event.inputs.version_to_release }}
./gradlew clean check publishReleasePublicationToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --stacktrace
- name: Archive Test Results
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
sed -i -r "s#version = ([^\']+)#version = ${{ github.event.inputs.version_to_release }}.0#" gradle.properties
git add gradle.properties
git commit -m "CI/CD: change version to be released: ${{ github.event.inputs.version_to_release }}.0"
git push
git push --set-upstream origin release/${{ github.event.inputs.version_to_release }}
./gradlew clean check publishToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --stacktrace
- name: Set Next Swazzler Version
Expand Down

0 comments on commit 1e8fd1b

Please sign in to comment.