I like to automatically create a zip file of the build and attach to the workflow on completion using a file name of v{VERSION}-{COMMIT_HASH}.
Previously I'd read the package.json to get the version to use but I want to start automatically updating the semver so I don't have to manually figure it out.
Added a new current option for the noVersionBumpBehavior parameter in v1.4.0, which will return the current version for both the current and next variables.
I like to automatically create a zip file of the build and attach to the workflow on completion using a file name of
v{VERSION}-{COMMIT_HASH}
.Previously I'd read the
package.json
to get the version to use but I want to start automatically updating the semver so I don't have to manually figure it out.In the workflow I've done the following:
However it seems that both
next
andcurrent
are empty if there was no version change. As thebuild
job has the following in the logs:Artifact -33336c0 has been successfully uploaded!