diff --git a/.github/actions/release/action.yaml b/.github/actions/release/action.yaml index 75d7c513..868be9f2 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/release/action.yaml @@ -32,4 +32,12 @@ runs: # See: https://github.com/nrwl/nx/blob/5ea2e47acfa9d175546daa922ce40905533f1074/packages/nx/src/utils/package-manager.ts#L207-L213 npm_config_legacy_peer_deps: false run: npx nx release --yes + - name: Push release commit and tags + shell: bash + # nx release (unified command) creates the git commit and tags locally but does not push them, + # regardless of the release.git.push setting in nx.json. It only pushes automatically when + # createRelease (GitHub/GitLab releases) is enabled. Since we use createReleaseInGitHub: false, + # we push manually here so that the version bumps in package.json reach the remote and + # nacho-bot can create PRs in consuming repos. + run: git push --follow-tags diff --git a/nx.json b/nx.json index b31fd22d..ad51bc59 100644 --- a/nx.json +++ b/nx.json @@ -58,7 +58,6 @@ "git": { "commit": true, "tag": true, - "push": true, "commitMessage": "chore(release): publish\n\n{releaseNotes}" }, "version": { diff --git a/package-lock.json b/package-lock.json index 062d85c0..5525498f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11203,6 +11203,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11219,6 +11220,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11235,6 +11237,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -11251,6 +11254,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11267,6 +11271,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11283,6 +11288,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11299,6 +11305,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11315,6 +11322,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11331,6 +11339,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11347,6 +11356,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11367,7 +11377,7 @@ "version": "0.5.18", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.18.tgz", "integrity": "sha512-TXTnIcNJQEKwThMMqBXsZ4VGAza6bvN4pa41Rkqoio6QBKMvo+5lexeTMScGCIxtzgQJzElcvIltani+adC5PQ==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.8.0" @@ -37378,7 +37388,7 @@ }, "packages/host-inventory": { "name": "@redhat-cloud-services/host-inventory-client", - "version": "4.1.7", + "version": "5.0.0", "license": "Apache-2.0", "dependencies": { "@redhat-cloud-services/javascript-clients-shared": "^2.0.5", @@ -37441,7 +37451,7 @@ }, "packages/rbac": { "name": "@redhat-cloud-services/rbac-client", - "version": "6.0.1", + "version": "7.0.0", "license": "Apache-2.0", "dependencies": { "@redhat-cloud-services/javascript-clients-shared": "^2.0.5", diff --git a/packages/host-inventory/package.json b/packages/host-inventory/package.json index 26599f14..975dd1da 100644 --- a/packages/host-inventory/package.json +++ b/packages/host-inventory/package.json @@ -1,6 +1,6 @@ { "name": "@redhat-cloud-services/host-inventory-client", - "version": "4.1.7", + "version": "5.0.0", "description": "", "main": "./index.js", "typings": "./index.d.ts", diff --git a/packages/rbac/package.json b/packages/rbac/package.json index 6a84c1e5..387d6bf2 100644 --- a/packages/rbac/package.json +++ b/packages/rbac/package.json @@ -1,6 +1,6 @@ { "name": "@redhat-cloud-services/rbac-client", - "version": "6.0.1", + "version": "7.0.0", "description": "JavaScript client for Red Hat Insights RBAC service", "main": "./index.js", "typings": "./index.d.ts",