File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2424 id : nextver
2525 run : |
2626 # Example version for debugging, you can adjust as needed
27- NEXT_TAG="v1 .2.3"
27+ NEXT_TAG="1 .2.3"
2828 echo "Next version tag: $NEXT_TAG"
2929 echo "tag=$NEXT_TAG" >> $GITHUB_OUTPUT
3030
3535 cat MerlinAU.sh
3636
3737 # Simulate updating the SCRIPT_VERSION and SCRIPT_BRANCH values
38- sed -e "s /^readonly SCRIPT_VERSION=.*$ /readonly SCRIPT_VERSION=${{ steps.nextver.outputs.tag }}/" \
39- -e "s /^SCRIPT_BRANCH=.*$/SCRIPT_BRANCH=\"dev\"/" \
38+ sed -e "/^readonly SCRIPT_VERSION=/s/.* /readonly SCRIPT_VERSION=${{ steps.nextver.outputs.tag }}/" \
39+ -e "/^SCRIPT_BRANCH=.*$/s/.* /SCRIPT_BRANCH=\"dev\"/" \
4040 MerlinAU.sh > MerlinAU.sh.tmp
4141
4242 # Display the simulated updated contents
You can’t perform that action at this time.
0 commit comments