diff --git a/Jenkinsfile b/Jenkinsfile index fc75b71..2d9cc26 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -126,7 +126,7 @@ }) if (lazyConfig['branch'] != releaseBranch) { // Write version from tag to generate the site - jekyllVersion(currentVersion) + jsVersion(currentVersion) } currentBuild.displayName = "#${env.BUILD_NUMBER} ${currentVersion}" }, @@ -176,7 +176,7 @@ run: { gitAuth(env.GIT_CRED, { // Define next version based on optional input - def currentVersion = jekyllVersion() + def currentVersion = jsVersion() def nextVersion = null if (env.lazyInput) { if (env.lazyInput ==~ /[a-z]+/) { @@ -190,8 +190,8 @@ // Merge changes from working into release branch gitMerge(workingBranch, releaseBranch) // Bump version into release branch - jekyllVersion(nextVersion) - gitCommit("Update version to ${nextVersion}", '_version.yml') + jsVersion(nextVersion) + gitCommit("Update version to ${nextVersion}", 'package.json') // Uncomment the following to merge version bump back into the working branch //gitMerge(releaseBranch, workingBranch) // Tag and publish changes in release branch