Skip to content

Commit

Permalink
chore(go): retract v1.27.0 (#2786)
Browse files Browse the repository at this point in the history
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: golang/go#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
  • Loading branch information
RomainMuller authored Apr 12, 2021
1 parent 07d848a commit 796e286
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected] as it was unusable.

## [1.27.0](https://github.com/aws/jsii/compare/v1.26.0...v1.27.0) (2021-04-02)


Expand Down
6 changes: 2 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
7 changes: 7 additions & 0 deletions packages/@jsii/go-runtime/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.idea
/build-tools
/dist

*.ts
!*.d.ts
*.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/@jsii/go-runtime/jsii-runtime-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ require (
github.com/Masterminds/semver/v3 v3.1.1
github.com/stretchr/testify v1.7.0
)

retract v1.27.0
3 changes: 2 additions & 1 deletion packages/@jsii/go-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...)",
Expand All @@ -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",
Expand Down

0 comments on commit 796e286

Please sign in to comment.