build: Mark non-release version

to make debugging in foreign environments easier if theme is installed as a submodule
This commit is contained in:
Sören Weber 2022-02-11 09:38:19 +01:00
parent 8be8992771
commit 5730f843d2
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -63,3 +63,15 @@ runs:
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
run: |
npx github-release-notes@0.17.1 release --tags "$MILESTONE"
- name: Update version number to mark non-release version
shell: bash
env:
MILESTONE: ${{ inputs.milestone }}
GITHUB_TOKEN: ${{ inputs.github_token }}
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
run: |
echo "$MILESTONE+next" > layouts/partials/version.html
git add *
git commit --message "Ship tag $MILESTONE"
git push origin main