picodrive/.github/workflows/prepare.yml
2023-11-09 23:44:01 +01:00

19 lines
452 B
YAML

name: prepare
on: workflow_call
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: create release
id: create_release
if: ${{ github.ref_type == 'tag' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag=$(echo ${{ github.ref }} | sed 's:refs/tags/::')
gh release create "$tag" --verify-tag -d -t "$tag" -n "$tag"