From 796e286d6cbf4f5e6262cfca28a0038eb0f3e49c Mon Sep 17 00:00:00 2001 From: Romain Marcadier Date: Mon, 12 Apr 2021 17:06:34 +0200 Subject: [PATCH] chore(go): retract v1.27.0 (#2786) It was manually created, then deleted, then re-created and now does not work properly as the proxy.golang.org has incorrect artifacts in, and sum.golang.org has the incorrect checksum, and both of these are designed to be immutable (as a security measure). Fixing this requires retracting 1.27.0 and releasing a new version (e.g: 1.27.1). Related: https://github.com/golang/go/issues/45517 The original issue was found & reported by @Cristim Fixes #2775 --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- CHANGELOG.md | 6 ++++++ lerna.json | 6 ++---- packages/@jsii/go-runtime/.npmignore | 7 +++++++ packages/@jsii/go-runtime/jsii-runtime-go/go.mod | 2 ++ packages/@jsii/go-runtime/package.json | 3 ++- 5 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 packages/@jsii/go-runtime/.npmignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 689d2353e8..02fa1eacf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.27.1](https://github.com/aws/jsii/compare/v1.27.0...v1.27.1) (2021-04-12) + +### Bug Fixes + +* **go:** retracted github.com/aws/jsii-runtime-go@v1.27.0 as it was unusable. + ## [1.27.0](https://github.com/aws/jsii/compare/v1.26.0...v1.27.0) (2021-04-02) diff --git a/lerna.json b/lerna.json index e76080e488..dc6f050d66 100644 --- a/lerna.json +++ b/lerna.json @@ -2,13 +2,11 @@ "lerna": "3.13.1", "npmClient": "yarn", "useWorkspaces": true, - "packages": [ - "packages/*" - ], + "packages": ["packages/*"], "command": { "bootstrap": { "rejectCycles": true } }, - "version": "1.27.0" + "version": "1.27.1" } diff --git a/packages/@jsii/go-runtime/.npmignore b/packages/@jsii/go-runtime/.npmignore new file mode 100644 index 0000000000..087a387028 --- /dev/null +++ b/packages/@jsii/go-runtime/.npmignore @@ -0,0 +1,7 @@ +/.idea +/build-tools +/dist + +*.ts +!*.d.ts +*.tsbuildinfo diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index f0b0020bc1..4545261637 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -6,3 +6,5 @@ require ( github.com/Masterminds/semver/v3 v3.1.1 github.com/stretchr/testify v1.7.0 ) + +retract v1.27.0 diff --git a/packages/@jsii/go-runtime/package.json b/packages/@jsii/go-runtime/package.json index 872c8df7d6..3ab80881c8 100644 --- a/packages/@jsii/go-runtime/package.json +++ b/packages/@jsii/go-runtime/package.json @@ -9,7 +9,7 @@ "gen:rt": "node build-tools/gen.js", "generate": "npm run gen:rt", "go:run": "go mod download && node build-tools/go-run.js", - "package": "build-tools/package.sh", + "package": "build-tools/package.sh && package-private", "doc": "(cd jsii-runtime-go && yarn --silent go:run godoc)", "fmt": "yarn --silent go:run goimports -w jsii-runtime-go", "lint": "(cd jsii-runtime-go && go vet ./... && yarn --silent go:run golint ./...)", @@ -28,6 +28,7 @@ "codemaker": "^0.0.0", "eslint": "^7.23.0", "fs-extra": "^9.1.0", + "jsii-build-tools": "^0.0.0", "jsii-calc": "^3.20.120", "prettier": "^2.2.1", "ts-node": "^9.1.1",