Skip to content

Commit

Permalink
Updating release version plugin to v3
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
slashben committed Nov 24, 2024
1 parent 8fb7714 commit b4bc90c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

push:
tags:
- 'v*.*.*-rc.*'
- 'v*.*.*-rc.*'


env:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
echo "REGO_ARTIFACT_PATH=${{ env.REGO_ARTIFACT_PATH }}" >> $GITHUB_OUTPUT
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.REGO_ARTIFACT_KEY_NAME }}
path: ${{ env.REGO_ARTIFACT_PATH }}/
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
with:
ORIGINAL_TAG: ${{ github.ref_name }}
SUB_STRING: "-rc."

# Create and push the full version tag (e.g., v2.0.1)
- name: Create and Push Full Tag
uses: rickstaa/action-create-tag@v1
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.SHORT_TAG }}
tag_name: ${{ env.SHORT_TAG }}
name: ${{ env.SHORT_TAG }}
body: "Automated release for ${{ env.SHORT_TAG}}"
files: ${{ env.REGO_ARTIFACT_PATH }}/*
Expand Down

0 comments on commit b4bc90c

Please sign in to comment.