Skip to content

Commit c2dcc67

Browse files
Update Create-NewReleases.yml
Grab the 1st line from file.
1 parent b85481a commit c2dcc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Create-NewReleases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: nextver
3131
run: |
3232
if [[ -f version.txt ]]; then
33-
NEXT_TAG=$(cat version.txt)
33+
NEXT_TAG=$(head -n 1 version.txt)
3434
else
3535
CURRENT_TAG=$(git tag --sort=-v:refname | head -n 1)
3636
if [[ $CURRENT_TAG == '' ]]; then

0 commit comments

Comments
 (0)