Skip to content

Commit

Permalink
bump version and add tag automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman committed Nov 22, 2024
1 parent 9ecbbde commit c690b0f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Version Bump

on:
push:
# branches:
# - main
paths:
- VERSION

jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: rickstaa/[email protected]
with:
tag: "$(cat VERSION)"
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.2.0
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
packages.manualHtml = pkgs.callPackage ./docs {
inherit nmdsrc;
allModules = allModules ++ contractDummyModules;
release = "0.0.1";
release = builtins.readFile ./VERSION;
};

lib.contracts = pkgs.callPackage ./modules/contracts {};
Expand Down

0 comments on commit c690b0f

Please sign in to comment.