Skip to content

Commit f99f711

Browse files
committed
Use latest tag
1 parent c516022 commit f99f711

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test_config_script.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: Run `first_config_script.sh`
2424
run: |
2525
sed -i '2 a NODE_LABEL="8cpu-32ram"' first_config_script.sh
26-
sed -i '2 a GITHUB_TAG="v0.0.21"' first_config_script.sh
26+
LATEST_TAG=$(git tag -l --sort=creatordate | tail -n1)
27+
echo "LATEST_TAG=$LATEST_TAG"
28+
sed -i '2 a GITHUB_TAG="$LATEST_TAG"' first_config_script.sh
2729
sed -i '/^reboot$/d' ./first_config_script.sh
2830
sudo -E bash first_config_script.sh

0 commit comments

Comments
 (0)