Merge pull request #198 from oakestra/develop #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create alpha tags | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create_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: Create tag | |
run: | | |
version=$(cat version.txt) | |
git tag $version | |
git push origin $version |