Commit ff7e564
committed
Track version number for next release in file
Only major and minor version numbers. Patch numbers remains calculated.
The trick to get current directory only works in Bash or Zsh. See:
https://stackoverflow.com/questions/9901210/bash-source0-equivalent-in-zsh#54755784
Note that "$0" won't work since the script is sourced, not executed.1 parent cf3cd0b commit ff7e564
2 files changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments