Skip to content

Commit 4b2e9b9

Browse files
committed
v8.0.1 release notes
Signed-off-by: Gregory Hill <[email protected]>
1 parent 1385b20 commit 4b2e9b9

File tree

4 files changed

+25
-16
lines changed

4 files changed

+25
-16
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,25 @@ jobs:
1818
if: success()
1919

2020
js:
21+
name: npm
2122
runs-on: ubuntu-latest
2223
steps:
24+
- uses: actions/checkout@v2
2325
- uses: actions/setup-node@v1
2426
with:
2527
node-version: '12.x'
26-
- uses: actions/checkout@v1
27-
- run: npm install -g npm-cli-login
28-
- name: Publish
28+
- run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
29+
- name: publish
2930
env:
30-
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
31-
NPM_USER: ${{ secrets.NPM_USER }}
32-
NPM_PASS: ${{ secrets.NPM_PASS }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3332
run: |
34-
git config --global user.name "${NPM_USER}"
35-
git config --global user.email "${NPM_EMAIL}"
36-
npm-cli-login
37-
npm version from-git
33+
git config --global user.email "${GITHUB_ACTOR}"
34+
git config --global user.name "${GITHUB_ACTOR}"
35+
cd hoard-js
36+
npm install
37+
npm run build
38+
npm version $RELEASE_VERSION
39+
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
3840
npm publish --access public .
3941
4042
docker:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# [Monax Hoard](https://github.com/monax/hoard) Changelog
2+
## [8.0.1] - 2020-03-09
3+
### Fixed
4+
- NPM publish via auth token
5+
6+
27
## [8.0.0] - 2020-02-24
38
### Changed
49
- Service now encrypts per chunk of plaintext
@@ -167,6 +172,7 @@ This is the first Hoard open source release and includes:
167172
- Hoar-Daemon hoard
168173
- Hoar-Control hoarctl CLI
169174

175+
[8.0.1]: https://github.com/monax/hoard/compare/v8.0.0...v8.0.1
170176
[8.0.0]: https://github.com/monax/hoard/compare/v7.2.0...v8.0.0
171177
[7.2.0]: https://github.com/monax/hoard/compare/v7.1.0...v7.2.0
172178
[7.1.0]: https://github.com/monax/hoard/compare/v7.0.0...v7.1.0

NOTES.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
### Changed
2-
- Service now encrypts per chunk of plaintext
3-
- Grants (v2) contain an array of references
4-
5-
### Removed
6-
- Document service - metadata now in header
1+
### Fixed
2+
- NPM publish via auth token
73

project/history.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ func FullVersion() string {
4040
// release tagging script: ./scripts/tag_release.sh
4141
var History relic.ImmutableHistory = relic.NewHistory("Monax Hoard", "https://github.com/monax/hoard").
4242
MustDeclareReleases(
43+
"8.0.1 - 2020-03-09",
44+
`### Fixed
45+
- NPM publish via auth token
46+
`,
47+
4348
"8.0.0 - 2020-02-24",
4449
`### Changed
4550
- Service now encrypts per chunk of plaintext

0 commit comments

Comments
 (0)