update relase script

This commit is contained in:
Peter Buchegger 2022-03-26 23:34:01 +01:00
parent bcbd174512
commit bf40553398

View file

@ -1,4 +1,4 @@
name: Upload Release Assets name: Create new release
on: on:
push: push:
@ -7,7 +7,7 @@ on:
jobs: jobs:
build: build:
name: Upload Release Assets name: Create new release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -15,7 +15,7 @@ jobs:
- run: pip3 install platformio - run: pip3 install platformio
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH - run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: platformio run - run: platformio run
- run: echo "VERSION=$(echo ./scripts/create_version_tag.py)" >> $GITHUB_ENV - run: echo "VERSION=$(./scripts/create_version_tag.py)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
with: with:
tag: ${{ env.VERSION }} tag: ${{ env.VERSION }}