Auto-publish package from GH Actions

pull/128/head
Valerian Saliou 9 months ago
parent 8a61f2d668
commit 40d59304e3
No known key found for this signature in database
GPG Key ID: C648A8138046772A

@ -41,6 +41,11 @@ jobs:
id: current_tag
uses: WyriHaximus/github-action-get-previous-tag@v1
- name: Release package
run: cargo publish --no-verify --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
- name: Release binaries
run: ./scripts/release_binaries.sh --version=${{ steps.current_tag.outputs.tag }}

@ -9,10 +9,7 @@ We consider here the packaging flow of Vigil version `1.0.0` for Linux.
1. Bump version in `Cargo.toml` to `1.0.0`
2. Execute `cargo update` to bump `Cargo.lock`
2. **How to update Vigil on Crates:**
1. Publish package on Crates: `cargo publish --no-verify`
3. **How to build Vigil, package it and release it on GitHub and Docker Hub (multiple architectures):**
2. **How to build Vigil, package it and release it on Crates, GitHub and Docker Hub (multiple architectures):**
1. Tag the latest Git commit corresponding to the release with tag `v1.0.0`, and push the tag
2. Wait for all release jobs to complete on the [actions](https://github.com/valeriansaliou/vigil/actions) page on GitHub
3. Download all release archives, and sign them locally using: `./scripts/sign_binaries.sh --version=1.0.0`

Loading…
Cancel
Save