Skip to content

Commit

Permalink
Update: use pat instead of github token
Browse files Browse the repository at this point in the history
Signed-off-by: deggja <[email protected]>
  • Loading branch information
deggja committed Nov 22, 2023
1 parent 58be44e commit 941a0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/scripts/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

# Fetch tags
git fetch --tags
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1` 2>/dev/null)

# Get the latest tag
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)

# If there are no tags yet, start with 0.0.1
if [ -z "$latest_tag" ]; then
new_tag="0.0.1"
else
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
version: latest
args: release --clean --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Updated to use PAT



0 comments on commit 941a0fb

Please sign in to comment.