viv/.github/workflows/release.yml

33 lines
594 B
YAML
Raw Normal View History

2023-08-21 15:48:40 -05:00
name: 🚀 Release
on:
push:
tags:
2023-08-22 22:47:33 -05:00
- 'v*.*'
2023-08-21 15:48:40 -05:00
permissions:
contents: write
jobs:
build-n-publish:
2023-08-22 23:11:56 -05:00
permissions:
id-token: write
2023-08-21 15:48:40 -05:00
uses: ./.github/workflows/pypi.yml
create-release:
env:
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update latest tag
uses: richardsimko/update-tag@v1
with:
tag_name: latest
2023-08-22 23:20:51 -05:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2023-08-21 15:48:40 -05:00
- name: Generate New Release
2023-08-22 23:20:51 -05:00
run: gh release create ${{ github.ref }}