this should do it
All checks were successful
Push to main / Reset-Version-Tag (push) Successful in 27s

This commit is contained in:
Bryce Thorup
2024-01-02 14:53:46 -07:00
parent 2260cdcd6f
commit cdbfa392e0
2 changed files with 2 additions and 4 deletions

View File

@@ -10,10 +10,6 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "I did a thing"
- run: git config --global user.email "cloud+git+runner@thorup.us"
- run: git config --global user.name "Git runner"
- run: echo "I finished doing a thing"
- run: git tag -d v1 || true
- run: git push --delete origin v1 || true
- run: git tag v1

View File

@@ -1,5 +1,7 @@
apt update
apt install jq -y
git config --global user.email "cloud+git+runner@thorup.us"
git config --global user.name "Git runner"
CURRENT_VERSION=$(jq -r .version package.json)
echo $CURRENT_VERSION
PREVIOUS_VERSIONS=$(git tag -l)