From cdbfa392e00fe951f474c694548ace1f09491143 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Tue, 2 Jan 2024 14:53:46 -0700 Subject: [PATCH] this should do it --- .gitea/workflows/push_to_main.yaml | 4 ---- action.sh | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/push_to_main.yaml b/.gitea/workflows/push_to_main.yaml index 40df733..d4b219c 100644 --- a/.gitea/workflows/push_to_main.yaml +++ b/.gitea/workflows/push_to_main.yaml @@ -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 diff --git a/action.sh b/action.sh index 0fed947..c38c589 100755 --- a/action.sh +++ b/action.sh @@ -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)