get rid of the v

This commit is contained in:
Joe Kaufeld 2022-07-23 15:27:57 -04:00
parent 442ccce071
commit e3a55df241

View File

@ -22,16 +22,16 @@ jobs:
pip install shiv pip install shiv
pip install poetry pip install poetry
- name: Add CURRENT_TIME env property - 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 - name: Build the sucker
run: | 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 make build
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
with: with:
artifacts: "utils" artifacts: "utils"
body: "It's releasin' time" body: "It's releasin' time"
generateReleaseNotes: false generateReleaseNotes: false
tag: v${{ env.CURRENT_TIME }} tag: ${{ env.CURRENT_TIME_VERSION }}
commit: master commit: master
token: ${{ secrets.PAT }} token: ${{ secrets.PAT }}