Compare commits

...

2 commits

Author SHA1 Message Date
6f6a60f667
ci: automatically tag releases
Some checks are pending
Tag latest version / tag-release (push) Waiting to run
2025-05-02 11:32:45 +03:00
75f77e8b7d
chore: 1.0.0 2025-05-02 11:29:05 +03:00
3 changed files with 33 additions and 2 deletions

31
.github/workflows/tag.yml vendored Normal file
View 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
View file

@ -617,7 +617,7 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "eris"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"actix-web",
"chrono",

View file

@ -1,6 +1,6 @@
[package]
name = "eris"
version = "0.1.0"
version = "1.0.0"
edition = "2024"
[dependencies]