-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CLI): #27416 Adding GHA release CLI workflow steps for publishin…
…g binaries into NPM registry. (#27514) * #27416 Building NPM package before publishing. * #27416 Building NPM package before publishing. Testing. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +1. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +2. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +3. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +4. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +5. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +6. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +7. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +8. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +8. * #27416 Building NPM package before publishing. Testing Jinja2 rendering. +9. * #27416 Testing build package. * #27416 Improving artifact composition. * #27416 Testing package composition. * #27416 Fixing set up package name and package version. * #27416 Fixing set up package name and package version. +1. * #27416 Fixing set up package name and package version. +2. * #27416 Testing package composition. +1. * #27416 Fixing package composition. * #27416 Testing prepare package content step. * #27416 Some improvements over the CLI release workflow. * #27416 Generating rc suffix to NPM package when release SNAPSHOT version. * #27416 Testing package structure. * #27416 Checking package.json file configuration. * #27416 Fixing workflow syntax. * #27416 Testing assembly configuration. * #27416 Fixing assembly configuration. * #27416 Testing assembly configuration. +1. * #27416 Testing assembly configuration. * #27416 Some improvements on packaging process. * #27416 Setting project name into package.json file. * #27416 Preparing package.json file. * #27416 Fixing package.json file. * #27416 Fixing some package composition failures. * #27416 Workflow commit messages changed. * #27416 NPM package tagging improvements. * #27416 Testing package version number resolution. * #27416 Refactoring NPM_PACKAGE_VERSION resolution. * #27416 Fixing package version generation. * #27416 Fixing NPM package version generation. * #27416 Fixing NPM package version generation. +1. * #27416 Fixing NPM package version generation. +2. * #27416 Fixing NPM package version generation. +3. * #27416 Fixing NPM package version generation. +4. * #27416 Fixing NPM package version generation. +5. * #27416 Ready to test the whole process. * #27416 Uncomment an important instruction for NPM package set up. * #27416 NPM_PACKAGE_NAME fixed. --------- Co-authored-by: Daniel Colina <[email protected]>
- Loading branch information
1 parent
5227989
commit 21fce96
Showing
5 changed files
with
312 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "@dotcms/{{ npmPackageName }}", | ||
"version": "{{ npmPackageVersion }}", | ||
"scripts": { | ||
"postinstall": "node src/postinstall.js install", | ||
"postuninstall": "node src/postinstall.js uninstall && npm prune" | ||
}, | ||
"binaries": { | ||
"{{ packageName }}-darwin-arm64": "bin/{{ packageName }}-{{ packageVersion }}-osx-aarch_64", | ||
"{{ packageName }}-darwin-x64": "bin/{{ packageName }}-{{ packageVersion }}-osx-x86_64", | ||
"{{ packageName }}-linux-x64": "bin/{{ packageName }}-{{ packageVersion }}-linux-x86_64" | ||
}, | ||
"alias": "{{ npmPackageName }}", | ||
"packageName": "{{ packageName }}", | ||
"files": [ | ||
"bin", | ||
"src" | ||
], | ||
"description": "Official command-line tool to manage dotCMS content.", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dotCMS/core.git#master" | ||
}, | ||
"keywords": [ | ||
"dotCMS", | ||
"CMS", | ||
"Content Management", | ||
"CLI", | ||
"dotCMS CLI", | ||
"dotCMS command-line tool" | ||
], | ||
"author": "dotcms <dev@dotcms.com>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/dotCMS/core/issues" | ||
} | ||
} |
Oops, something went wrong.