Skip to content

Commit ceb5eb8

Browse files
authored
Merge pull request #34 from libxengine/develop
modify:release.yml
2 parents 7c806bc + e9368ee commit ceb5eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jobs:
8484
patch=$(echo $latest_tag | cut -d '.' -f 3)
8585
build=$(echo $latest_tag | cut -d '.' -f 4)
8686
87-
new_minor=$((patch + 1))
88-
new_version="$major.$new_minor.$patch.$build"
87+
new_minor=$((minor + 1))
88+
new_version="$major.$new_minor.0.$build"
8989
echo "New version: $new_version"
9090
echo "new_tag=$new_version" >> $GITHUB_OUTPUT
9191
echo "prev_tag=$latest_tag" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)