Skip to content

release v0.13.0

release v0.13.0 #18

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
defaults:
run:
shell: bash
jobs:
publish:
name: Publish release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
# - name: Publish to crates.io
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# run: cargo publish
- name: Create source archives
run: |-
git archive --prefix pyapp-${{ github.ref_name }}/ -o source.tar.gz HEAD
git archive --prefix pyapp-${{ github.ref_name }}/ -o source.zip HEAD
- name: Add source archives to current release
uses: softprops/action-gh-release@v1
with:
files: |-
source.tar.gz
source.zip