Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypta-Eve authored May 20, 2024
1 parent cfdfa72 commit 9f390b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Checkout and tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: eveseat/seat-docker
ref: 'master'
Expand All @@ -18,8 +18,9 @@ jobs:
git config user.email github-actions@github.com
currver=`cat version`
a=(${currver//./ })
((a[2]++))
newver="${a[0]}.${a[1]}.${a[2]}"
newrelease=${a[2]}
newrelease=$((newrelease+1))
newver="${a[0]}.${a[1]}.${newrelease}"
echo $newver > version
git add version
git commit -m "bump to version $newver"
Expand Down

0 comments on commit 9f390b0

Please sign in to comment.