Skip to content

Update version.txt

Update version.txt #6

name: Create Alpha Tags
on:
push:
branches:
- develop
jobs:
create-tag:
name: Create Alpha Tag
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.PACKAGES_TOKEN }}
- name: Get tag version
id: tag_version
run: |
echo "::set-output name=tag::$(cat version.txt)"
- name: Fetch origin
run: |
git fetch origin
- name: Create tag
run: |
version=$(cat version.txt)
git tag -f alpha-$version
git push origin alpha-$version --force