Skip to content

Commit 5ba22e0

Browse files
committed
chore: fix syntax error workflow.
1 parent 83bbec9 commit 5ba22e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
echo "Updating NeqSim dependency to version '$NEQSIM_VERSION'"
5757
5858
# Get the current version to use as fallback
59-
CURRENT_VERSION=$(grep -o 'version: "[^"]*"' jneqsim/dependencies.yaml | sed 's/version: "\(.*\)"/\1/')
59+
CURRENT_VERSION=$(grep -o 'version: "[^"]*"' jneqsim/dependencies.yaml | head -1 | sed 's/version: "\(.*\)"/\1/')
6060
echo "Current version (will become fallback): '$CURRENT_VERSION'"
6161
echo "New version: '$NEQSIM_VERSION'"
6262

0 commit comments

Comments
 (0)