From e3a55df2411437d2ee4ce9be5b28c12368938b6a Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Sat, 23 Jul 2022 15:27:57 -0400 Subject: [PATCH] get rid of the v --- .github/workflows/build_and_release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 9e5bf01..36206b9 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -22,16 +22,16 @@ jobs: pip install shiv pip install poetry - name: Add CURRENT_TIME env property - run: echo "CURRENT_TIME=$(date -Iseconds)" >> $GITHUB_ENV + run: echo "CURRENT_TIME_VERSION=v$(date -Iseconds)" >> $GITHUB_ENV - name: Build the sucker run: | - sed -i -e "s/?????/v${{ env.CURRENT_TIME }}/g" src/__init__.py + sed -i -e "s/?????/${{ env.CURRENT_TIME_VERSION }}/g" src/__init__.py make build - uses: ncipollo/release-action@v1 with: artifacts: "utils" body: "It's releasin' time" generateReleaseNotes: false - tag: v${{ env.CURRENT_TIME }} + tag: ${{ env.CURRENT_TIME_VERSION }} commit: master token: ${{ secrets.PAT }}