Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrog-ecosystem committed Jan 7, 2024
2 parents 417c49d + a71b31f commit d101242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def bumpVersion() {
sh "build/build.sh"
fromVersion = getCliVersion("./jf")
sh "build/bump-version.sh $fromVersion $RELEASE_VERSION"
sh "git checkout $masterBranch"
sh "git commit -m \"Bump version from $fromVersion to $RELEASE_VERSION\""
sh "git push \"https://$GITHUB_ACCESS_TOKEN@github.com/jfrog/jfrog-cli.git\""
}
}
}
Expand Down
4 changes: 0 additions & 4 deletions build/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,3 @@ replaceVersion "build/npm/v2-jf/package.json" "\"version\": \"$fromVersion\"," "

# Print success message if validation and replacement pass
echo "Version bumped successfully."

git commit -m "Bump version from $fromVersion to $toVersion"
git push
echo "Version bump pushed to git."

0 comments on commit d101242

Please sign in to comment.