Skip to content

fix(map): write back transformed field values to parent table #18

fix(map): write back transformed field values to parent table

fix(map): write back transformed field values to parent table #18

Workflow file for this run

name: publish
on:
push:
branches:
- master
tags:
- '**'
jobs:
publish-master:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04-self-hosted
steps:
- uses: actions/checkout@v4
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
files: cv-scm-1.rockspec
publish-tag:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04-self-hosted
steps:
- uses: actions/checkout@v4
- run: |
export GIT_TAG=${GITHUB_REF#refs/*/}
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
sed -e "s/branch = \".\+\"/tag = \"$GIT_TAG\"/g" -e "s/version = '.\+'/version = \"$GIT_TAG-1\"/g" cv-scm-1.rockspec > cv-$GIT_TAG-1.rockspec
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
files: cv-${{ env.GIT_TAG }}-1.rockspec