File tree 4 files changed +25
-16
lines changed
4 files changed +25
-16
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,25 @@ jobs:
18
18
if : success()
19
19
20
20
js :
21
+ name : npm
21
22
runs-on : ubuntu-latest
22
23
steps :
24
+ - uses : actions/checkout@v2
23
25
- uses : actions/setup-node@v1
24
26
with :
25
27
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
29
30
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 }}
33
32
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}"
38
40
npm publish --access public .
39
41
40
42
docker :
Original file line number Diff line number Diff line change 1
1
# [ 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
+
2
7
## [ 8.0.0] - 2020-02-24
3
8
### Changed
4
9
- Service now encrypts per chunk of plaintext
@@ -167,6 +172,7 @@ This is the first Hoard open source release and includes:
167
172
- Hoar-Daemon hoard
168
173
- Hoar-Control hoarctl CLI
169
174
175
+ [ 8.0.1 ] : https://github.com/monax/hoard/compare/v8.0.0...v8.0.1
170
176
[ 8.0.0 ] : https://github.com/monax/hoard/compare/v7.2.0...v8.0.0
171
177
[ 7.2.0 ] : https://github.com/monax/hoard/compare/v7.1.0...v7.2.0
172
178
[ 7.1.0 ] : https://github.com/monax/hoard/compare/v7.0.0...v7.1.0
Original file line number Diff line number Diff line change 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
7
3
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ func FullVersion() string {
40
40
// release tagging script: ./scripts/tag_release.sh
41
41
var History relic.ImmutableHistory = relic .NewHistory ("Monax Hoard" , "https://github.com/monax/hoard" ).
42
42
MustDeclareReleases (
43
+ "8.0.1 - 2020-03-09" ,
44
+ `### Fixed
45
+ - NPM publish via auth token
46
+ ` ,
47
+
43
48
"8.0.0 - 2020-02-24" ,
44
49
`### Changed
45
50
- Service now encrypts per chunk of plaintext
You can’t perform that action at this time.
0 commit comments