Skip to content

Commit 53b1b18

Browse files
committed
Simplify workflow: Use tag_name parameter for latest release
- Remove manual tag creation step (was causing permission issues) - Use softprops/action-gh-release tag_name parameter - Creates 'latest' tag automatically as part of release creation - Cleaner and more reliable approach
1 parent 53607c6 commit 53b1b18

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,10 @@ jobs:
3333
path: splunkbase-skill.zip
3434
retention-days: 90
3535

36-
- name: Create tag
37-
run: |
38-
git config user.name "github-actions[bot]"
39-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
40-
git tag -f latest
41-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
42-
git push origin -f --tags
43-
4436
- name: Create Release
4537
uses: softprops/action-gh-release@v1
4638
with:
39+
tag_name: latest
4740
files: splunkbase-skill.zip
4841
draft: false
4942
prerelease: false

0 commit comments

Comments
 (0)