Skip to content

version 8.2.2 (#195) #64

version 8.2.2 (#195)

version 8.2.2 (#195) #64

Workflow file for this run

name: Publish
on:
push:
branches: [master]
tags: ['*']
jobs:
publish-scm-1:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
files: frontend-core-scm-1.rockspec
publish-tag:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '2.5'
# Make a release
- run: echo TAG=${GITHUB_REF##*/} >> $GITHUB_ENV
- run: tarantoolctl rocks new_version --tag ${{ env.TAG }}
- run: sed -i '/branch = "master"/d' frontend-core-${{ env.TAG }}-1.rockspec
- run: tarantoolctl rocks install frontend-core-${{ env.TAG }}-1.rockspec
- run: tarantoolctl rocks pack frontend-core ${{ env.TAG }}
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
files: |
frontend-core-${{ env.TAG }}-1.rockspec
frontend-core-${{ env.TAG }}-1.all.rock