We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 597c2f7 commit 2b7bee0Copy full SHA for 2b7bee0
1 file changed
.github/workflows/update-date.yaml
@@ -10,6 +10,7 @@ jobs:
10
- uses: actions/checkout@v3
11
- name: Create file and push
12
run: |
13
+ apt update && apt install -y ncal
14
next_hack_date=$(date -u +%Y-%m-$(ncal -h | awk '/Sa/ {print $(NF)}'))
15
last_hack_number=$(ls -1 _hacks | sort -r | head -n1 | sed 's/[^0-9]*//g')
16
next_hack_number=$(($last_hack_number+1))
0 commit comments