File tree 4 files changed +11
-29
lines changed
test/unit/node/test-plugin
4 files changed +11
-29
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ jobs:
28
28
id : version
29
29
run : echo "::set-output name=version::$(jq -r .version package.json)"
30
30
31
- - name : Download npm package from release artifacts
32
-
31
+ - name : Download artifact
32
+ uses : dawidd6/action-download-artifact@v2
33
+ id : download
33
34
with :
34
- repository : " coder/code-server"
35
- tag : v${{ steps.version.outputs.version }}
36
- fileName : " npm-package"
37
- out-file-path : " release-npm-package"
35
+ branch : release/v${{ steps.version.outputs.version }}
36
+ workflow : build.yaml
37
+ workflow_conclusion : completed
38
+ name : " npm-package"
39
+ path : release-npm-package
38
40
39
41
- name : Publish npm package and tag with "latest"
40
42
run : yarn publish:npm
Original file line number Diff line number Diff line change @@ -249,24 +249,3 @@ jobs:
249
249
draft : true
250
250
discussion_category_name : " 📣 Announcements"
251
251
files : ./release-packages/*
252
-
253
- npm-package :
254
- name : Upload npm package
255
- runs-on : ubuntu-latest
256
- timeout-minutes : 15
257
- steps :
258
- - name : Download artifacts
259
- uses : dawidd6/action-download-artifact@v2
260
- id : download
261
- with :
262
- branch : ${{ github.ref }}
263
- workflow : build.yaml
264
- workflow_conclusion : completed
265
- check_artifacts : true
266
- name : npm-package
267
-
268
- - uses : softprops/action-gh-release@v1
269
- with :
270
- draft : true
271
- discussion_category_name : " 📣 Announcements"
272
- files : ./npm-package
Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ changelog](https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS).
141
141
142
142
### Publishing a release
143
143
144
- 1 . Create a new branch called ` release `
144
+ 1 . Create a new branch called ` release/v0.0.0 ` (replace 0s with actual version aka v4.5.0)
145
+ 1 . If you don't do this, the ` npm-brew ` GitHub workflow will fail. It looks for the release artifacts under the branch pattern.
145
146
1 . Run ` yarn release:prep `
146
147
1 . Bump chart version in ` Chart.yaml ` .
147
148
1 . Summarize the major changes in the ` CHANGELOG.md `
Original file line number Diff line number Diff line change 3
3
"name" : " test-plugin" ,
4
4
"version" : " 1.0.0" ,
5
5
"engines" : {
6
- "code-server" : " * "
6
+ "code-server" : " ^4.8.1 "
7
7
},
8
8
"main" : " out/index.js" ,
9
9
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments