-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semantic Release is not updating the master
branch version
#32
Comments
I guess the reason could be you're running the npm plugin against the generated Here's a working .releaserc: |
Please try install semantic-release and run it with --dryrun to verify your modification https://semantic-release.gitbook.io/semantic-release/usage/configuration#dryrun |
Well it's working in some of my other repos so I'll have to do a little digging. Yeah, it could quite possibly be the ordering in the release file. |
Finally had some time to dig into this. The issue is directly tied to Oyster Package Manager. It seems a version change on the Git semver plugin requires specifying the package.json to check it in. Need to do some more digging there. |
You need to specify the https://github.com/semantic-release/git And if the CHANGELOG is not located at the root path, you need to specify the |
I found the issue and it has to do with the NPM plugin running after the Git plugin for Semantic Release. I'm also having to rewrite the build compiler to hard write version values to |
Nice catch. |
This issue should now be resolved as of #59 |
And am I right that you will not change the package name of these
|
The underlying package manager Oyster relies on the root package.json for a lot of operations. As the package manager itself is written in Node.js (same package tech Unity opted into). Multiple package.json files aren't unusual in Node.js projects. It could be renamed or removed into a separate branch, but it would be a lot of work to do so. If there was some sort of underlying config file to specify the pacakge.json I could easily fix this. It would have to be that or a pull request on Oyster to create a separate branch at the right time in the template files. Not against the idea at all, just don't have time to write the feature atm (pandemic was not kind to me the past year). |
https://github.com/ashblue/fluid-behavior-tree/blob/develop/Assets/com.fluid.behavior-tree/package.json is the actually upm package meta file, so that file is all I care about. I'm just wondering after #59 gets merged into the master branch (from the develop branch), will that file get version synced ( |
Once a new release triggers it should start auto-updating the |
Okay. I will watch for the next release to verify it. |
Thx for your patience on this. Took up a lot more time than expected to create a migration tool to get my old repos from Oyster v1 to v2 😅 |
Releases are not updating the root
package.json
version. Investigate why. Open a ticket with Oyster or the package assembler if the issue is in the corresponding package.The text was updated successfully, but these errors were encountered: