Skip to content

1.4.1

1.4.1 #12

Workflow file for this run

name: Version bump
on:
release:
types: [published]
jobs:
version_bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: 'snypy/snypy-docker'
token: ${{ secrets.API_TOKEN_GITHUB }}
- name: Update env file
run: |
cat .env
export $(cat .env | xargs)
export UI_VERSION=${{ github.event.release.tag_name }}
envsubst < .env.template > .env
cat .env
- name: Create commit
run: |
git config --global user.name "Continuous Integration"
git config --global user.email "username@users.noreply.github.com"
git add .env
git commit -m "Bump UI_VERSION to ${{ github.event.release.tag_name }}"
git push