Skip to content

Commit

Permalink
Move the tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Feb 6, 2024
1 parent 02cd1c3 commit 52687c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:
# Add some verbosity
echo "NPM version is now $(npm version)"
- name: Set Branch
id: set_branch
run: |
echo "branch=${GITHUB_REF_NAME%.*}.x" >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Pre Release: Update npm version"
branch: ${{ steps.set_branch.outputs.branch }}

- name: Reset the tag to the newest commit
run: |
Expand All @@ -45,16 +55,6 @@ jobs:
git tag ${GITHUB_REF_NAME}
git push origin --tags
- name: Set Branch
id: set_branch
run: |
echo "branch=${GITHUB_REF_NAME%.*}.x" >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Pre Release: Update npm version"
branch: ${{ steps.set_branch.outputs.branch }}

release-container:
needs: [pre-release]
uses: PelicanPlatform/pelican/.github/workflows/release-container.yml@main
Expand Down

0 comments on commit 52687c5

Please sign in to comment.