File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : bump patch version
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ tag :
8+ runs-on : ubuntu-latest
9+ needs : test
10+ if : ${{ github.ref == 'refs/heads/main' }}
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
14+ with :
15+ fetch-depth : 0
16+ token : ${{ secrets.EZ_BOT_TOKEN }}
17+
18+ - name : Install svu
19+ run : |
20+ # renovate: datasource=github-releases depName=caarlos0/svu
21+ export SVU_VERSION="v1.10.2"
22+ curl -Lo ./svu.tar.gz "https://github.com/caarlos0/svu/releases/download/${SVU_VERSION}/svu_${SVU_VERSION#v}_linux_amd64.tar.gz"
23+ tar -C "$HOME" -xzf svu.tar.gz
24+ rm svu.tar.gz
25+
26+ - name : Tag new version
27+ run : |
28+ echo "Bumping patch version"
29+ git tag "$(~/svu patch)"
30+ git push --tags
You can’t perform that action at this time.
0 commit comments