diff --git a/.gitea/workflows/build_and_release.yml b/.gitea/workflows/build_and_release.yml index a013152..301bff3 100644 --- a/.gitea/workflows/build_and_release.yml +++ b/.gitea/workflows/build_and_release.yml @@ -47,7 +47,7 @@ jobs: pip install shiv pip install poetry - name: Add VERSION env property - run: echo "VERSION=v$(poetry version | python -c 'import sys;print(sys.stdin.read().split()[1])')" >> $GITEA_ENV + run: echo "VERSION=v$(poetry version | python -c 'import sys;print(sys.stdin.read().split()[1])')" >> $GITHUB_ENV - name: Build the sucker run: | sed -i -e "s/?????/${{ env.VERSION }}/g" src/__init__.py @@ -69,7 +69,7 @@ jobs: -H 'Content-Type: application/json' \ -d "$JSON_DATA" \ | python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"\ - )""" >> $GITEA_ENV + )""" >> $GITHUB_ENV - name: Upload assets! run: | curl https://git.joekaufeld.com/api/v1/repos/${GITEA_REPOSITORY%/*}/${{ gitea.event.repository.name }}/releases/${{ env.release_id }}/assets \