Skip to content

Commit b248756

Browse files
doc: Adds additional considerations for running maven publishing manually (#240)
1 parent c17213f commit b248756

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

RELEASING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ git tag -d v1.0.1 # Delete the tag v1.0.1
3535
npx projen release
3636
```
3737

38+
As a result within the `./dist` folder you will be able to verify the generated packages for each target, as well as the version and changelog.
39+
3840
4. Publish the artifacts to the package managers. Reach out to [APIx-Integration](https://github.com/orgs/mongodb/teams/apix-integrations/members) for the credentials.
3941
```bash
4042
# NPM
@@ -70,4 +72,10 @@ export GIT_USER_EMAIL=*********
7072
npx -p publib@latest publib-golang
7173
```
7274

73-
5. Create a new release in [awscdk-resources-mongodbatlas-go](https://github.com/mongodb/awscdk-resources-mongodbatlas-go)
75+
##### Maven publishing considerations
76+
- Make sure that your mvn version (`mvn --version`) is running the same java version that we use in the GitHub release workflow (currently temurin 11).
77+
- It is possible that during the publishing process it will require to enter the gpg passphrase, in this case enter the value defined in `MAVEN_GPG_PRIVATE_KEY_PASSPHRASE`.
78+
79+
5. Create a new release in [awscdk-resources-mongodbatlas-go](https://github.com/mongodb/awscdk-resources-mongodbatlas-go).
80+
81+
6. If the initial release process failed, it is likely that the final step generating the GitHub release and version tag was not run. This can be done by creating a new release from the GitHub UI, defining the correct `vX.Y.Z` to be created, and copying the content of `./dist/changelog.md` for the release notes.

0 commit comments

Comments
 (0)