File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 8282 echo "CURRENT_DAY=$(date +'%d')" >> $GITHUB_ENV
8383 echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
8484
85- - name : Update version.simba
86- run : |
87- sed -i "s/WL_VERSION_YEAR: Integer = .*/WL_VERSION_YEAR: Integer = $CURRENT_YEAR;/" version.simba
88- sed -i "s/WL_VERSION_MONTH: Integer = .*/WL_VERSION_MONTH: Integer = $CURRENT_MONTH;/" version.simba
89- sed -i "s/WL_VERSION_DAY: Integer = .*/WL_VERSION_DAY: Integer = $CURRENT_DAY;/" version.simba
90- sed -i "s/WL_VERSION_COMMIT_HASH: String = .*/WL_VERSION_COMMIT_HASH: String = '$COMMIT_HASH';/" version.simba
91-
92- - name : Commit version bump
93- run : |
94- git add version.simba
95- git commit -m "Automatic version bump to $CURRENT_YEAR.$CURRENT_MONTH.$CURRENT_DAY-$COMMIT_HASH"
96- git push
97-
9885 - name : Create and push tag
9986 run : |
10087 TAG_NAME="$CURRENT_YEAR.$CURRENT_MONTH.$CURRENT_DAY-$COMMIT_HASH"
You can’t perform that action at this time.
0 commit comments