Skip to content

Commit

Permalink
branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradac authored Jun 25, 2024
1 parent d5fb30c commit 672da3a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,14 @@ jobs: # these jobs run serially because of the 'needs:' keyword on each
echo $major $minor $patch
echo $minor_incr $patch_incr
echo ${{ github.ref }}
echo "RELEASE_VERSION=$major.$minor.$patch" >> "$GITHUB_OUTPUT"
[ "${{ github.ref }}" == "refs/heads/master" ] && echo "CREATE_BRANCH=true" >> "$GITHUB_OUTPUT" || echo "CREATE_BRANCH=false" >> "$GITHUB_OUTPUT"
[ "${{ github.ref }}" == "refs/heads/master" ] && echo "SNAPSHOT_VERSION=$major.$minor_incr.$patch" >> "$GITHUB_OUTPUT" || echo "SNAPSHOT_VERSION=$major.$minor.$patch_incr" >> "$GITHUB_OUTPUT"
echo "NEW_BRANCH=release-$major.$minor.$patch" >> "$GITHUB_OUTPUT"
echo "BRANCH_SNAPSHOT_VERSION=$major.$minor.$patch_incr" >> "GITHUB_OUTPUT"
echo $GITHUB_OUTPUT
exit 1
echo "RELEASE_VERSION=${{ inputs.release-major-version }}.${{ inputs.release-minor-version }}.${{ inputs.release-patch-version }}" >> "$GITHUB_OUTPUT"
echo "SNAPSHOT_VERSION=${{ inputs.release-major-version }}.${{ inputs.release-minor-version }}.${{ inputs.release-patch-version }}" >> "$GITHUB_OUTPUT"
- name: verify aeron tag
id: check-tag
if: ${{ inputs.aeron-git-tag != 'origin/HEAD' }}
Expand Down

0 comments on commit 672da3a

Please sign in to comment.