Skip to content
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

allow independent versioning #21

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module.exports = {
pruneShrinkwrap: ["@zowe/cics-for-zowe-cli"],
// Use Lerna only for versioning and publish packages independently
npmPublish: false,
versionIndependent: ["cics-extension-for-zowe"]
},
],
[
Expand Down Expand Up @@ -81,6 +82,7 @@ module.exports = {
"@octorelease/github",
{
assets: ["dist/*.tgz", "dist/*.vsix"],
checkPrLabels: true,
draftRelease: true,
},
],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Build Source
run: npm run build

- uses: zowe-actions/octorelease@fix/allow-first-time-publish
- uses: zowe-actions/octorelease@v1
env:
GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }}
GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
Expand Down
6 changes: 3 additions & 3 deletions packages/vsce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/zowe/cics-for-zowe-client.git"
},
"version": "5.0.2",
"version": "2.3.2",
"engines": {
"vscode": "^1.53.2"
},
Expand Down Expand Up @@ -871,7 +871,7 @@
}
},
"scripts": {
"vscode:prepublish": "tsup",
"vscode:prepublish": "npm run tsupDep -- add && tsup && npm run tsupDep",
"build": "tsup && npm run checkTestsCompile && npm run madge",
"checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit ",
"madge": "echo 'Nothing to check'",
Expand All @@ -883,7 +883,7 @@
"test:unit": "jest --config unit.jest_config.ts --no-coverage",
"test": "npm run test:unit",
"tsupDep": "node ./scripts/tsup-deps.js",
"package": "npm run tsupDep -- add && vsce package --dependencies --allow-star-activation && node ../../scripts/mv-pack.js cics-extension-for-zowe vsix && npm run tsupDep"
"package": "vsce package --dependencies --allow-star-activation && node ../../scripts/mv-pack.js cics-extension-for-zowe vsix"
},
"devDependencies": {
"@types/vscode": "~1.53.0",
Expand Down
Loading