Skip to content

Commit 399a8f9

Browse files
committed
verfile for versioning
1 parent a2aea24 commit 399a8f9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/pub.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
persist-credentials: false
1818
fetch-depth: 0
19+
- run: echo -n ${{ github.ref_name }} > VERSION
1920
- uses: pnpm/action-setup@v3
2021
with:
2122
version: '*'
@@ -40,7 +41,6 @@ jobs:
4041
pnpm publish --no-git-checks
4142
env:
4243
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43-
- run: echo -n ${{ github.ref_name }} > VERSION
4444
- name: push
4545
uses: stefanzweifel/git-auto-commit-action@v5
4646
with:

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

img.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
name,
3+
cfg ? "",
34

45
writeShellApplication,
56
bited-img,
@@ -8,5 +9,5 @@
89

910
writeShellApplication {
1011
inherit name;
11-
text = "${bited-img}/bin/bited-img";
12+
text = "${bited-img}/bin/bited-img ${cfg}";
1213
}

0 commit comments

Comments
 (0)