Skip to content

Conversation

@jasonsiders
Copy link
Owner

@jasonsiders jasonsiders commented Aug 4, 2025

New CI job to facilitate automatically packaging both a Managed and Unlocked package versions on new pushes to main.

To push a specific version number, increment sfdx-project.json's versionNumber property in the push to main. If not, the script will increment the existing version number's patch version (ex., 2.5.1 -> 2.5.2).

The job will sequentially create a managed package version, and an unlocked package version, and then create a release. The release contains the relevant package ids & installation commands, plus github's auto-generated release notes.

If needed, the release.yml action can be dispatched manually, as can individual packaging actions via packaging.yml.

This change also includes the creation of a new packages/ folder structure, which stores sfdx-project.json files for both the unlocked and managed packages. There also needs to be a sfdx-project.json file at the root of the project, to facilitate development. The CI action swaps out the root file for correct packages/ file at runtime.

@jasonsiders jasonsiders marked this pull request as ready for review August 4, 2025 15:37
@jasonsiders jasonsiders merged commit 86d75e8 into main Aug 4, 2025
@jasonsiders jasonsiders deleted the devops/packaging-action branch August 4, 2025 15:57
@jasonsiders jasonsiders mentioned this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants