Skip to content

Commit f534ace

Browse files
Update Test-Worklflow.yml
1 parent a7fb6f5 commit f534ace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/Test-Worklflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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
@@ -35,8 +35,8 @@ jobs:
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

0 commit comments

Comments
 (0)