Compare commits
2 commits
9297ba4e0c
...
6f6a60f667
Author | SHA1 | Date | |
---|---|---|---|
6f6a60f667 |
|||
75f77e8b7d |
3 changed files with 33 additions and 2 deletions
31
.github/workflows/tag.yml
vendored
Normal file
31
.github/workflows/tag.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Tag latest version
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
concurrency: tag
|
||||
|
||||
jobs:
|
||||
tag-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@master
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Read version
|
||||
run: |
|
||||
echo -n "_version=v" >> "$GITHUB_ENV"
|
||||
nix run nixpkgs#fq -- -r ".package.version" Cargo.toml >> "$GITHUB_ENV"
|
||||
cat "$GITHUB_ENV"
|
||||
|
||||
- name: Tag
|
||||
run: |
|
||||
set -x
|
||||
git tag $version
|
||||
git push --tags || :
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -617,7 +617,7 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|||
|
||||
[[package]]
|
||||
name = "eris"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"chrono",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "eris"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue