Skip to content

[VEG-662] Improve release and automate process #69

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anushkafka
Copy link
Contributor

Description

At the moment ZCLI needs a manual release and will only publish to the NPM registry. This PR aims to include publish artifactory and automate the release on merge to master.
https://zendesk.atlassian.net/browse/VEG-662

Detail

Checklist

  • 💂‍♂️ includes new unit and functional tests

@anushkafka anushkafka added the WIP label Sep 3, 2021
Comment on lines +25 to +31
git config user.name github-actions
git config user.email [email protected]
npm install
npm run build
npm version ${{ steps.tag.outputs.version }} --force -m "Upgrade to %s from github actions build_on_merge step [ci skip]"
npm publish
npm run release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these steps need to be tweaked, install, version, publish etc all happen in release.sh

"types": "lib/index.d.ts"
"types": "lib/index.d.ts",
"publishConfig": {
"registry": "https://zdrepo.jfrog.io/zdrepo/api/npm/npm"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we should hardcode this here, we publish for both public and internal, which means we should dynamically pass this value during the release https://github.com/lerna/lerna/tree/main/commands/publish#--registry-url

@zach-anthony zach-anthony removed the WIP label Jun 22, 2023
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.

3 participants