File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ set ignore-comments := true
2
+ set shell := [" zsh" , " +o" , " nomatch" , " -ecu" ]
3
+ set unstable := true
4
+ set script-interpreter := [" zsh" , " +o" , " nomatch" , " -eu" ]
5
+
6
+ _ default :
7
+ @ just --list --unsorted
8
+
9
+ [private ]
10
+ [doc (' Block execution if Git working tree isn’t pristine.' )]
11
+ pristine :
12
+ # Ensure there are no changes in staging
13
+ git diff-index --quiet --cached HEAD || exit 1
14
+ # Ensure there are no changes in the working tree
15
+ git diff-files --quiet || exit 1
16
+
17
+ release semver : pristine
18
+ sed -i -e " /image:/s/:v.*/:v{{ semver}} /" action.yml
19
+ make rockspecs/ fontproof-{{ semver}} -1.rockspec
20
+ git add action.yml README.md rockspecs/ fontproof-{{ semver}} -1.rockspec
21
+ git commit -m " chore: Release {{ semver}} "
22
+ git tag v{{ semver}}
23
+ git push v{{ semver}}
24
+ git push
25
+ luarocks pack rockspecs/ fontproof-{{ semver}} -1.rockspec
26
+ gh release create v{{ semver}} -t " FontProof v{{ semver}} " fontproof-{{ semver}} -1.src.rock
27
+
28
+ # vim: set ft=just
You can’t perform that action at this time.
0 commit comments