We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c1790 commit ba12c16Copy full SHA for ba12c16
.github/workflows/release-drafter.yml
@@ -21,7 +21,7 @@ jobs:
21
declare -i newpost
22
latest=$(git describe --tags $(git rev-list --tags --max-count=1))
23
latestpre=$(echo "$latest" | awk '{split($0,a,"."); print a[1] "." a[2]}')
24
- datepre=$(date --utc '+%y.%m')
+ datepre=$(date --utc '+%y.%-m')
25
if [[ "$latestpre" == "$datepre" ]]; then
26
latestpost=$(echo "$latest" | awk '{split($0,a,"."); print a[3]}')
27
newpost=$latestpost+1
0 commit comments