Archived
1
0

Revert "Test branch (#5733)" (#5734)

This reverts commit 5c751f26ee.
This commit is contained in:
Joe Previte 2022-10-28 13:48:36 -07:00 committed by GitHub
parent 5c751f26ee
commit ee47293cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 29 deletions

View File

@ -28,13 +28,15 @@ jobs:
id: version id: version
run: echo "::set-output name=version::$(jq -r .version package.json)" run: echo "::set-output name=version::$(jq -r .version package.json)"
- name: Download npm package from release artifacts - name: Download artifact
uses: robinraju/release-downloader@v1.5 uses: dawidd6/action-download-artifact@v2
id: download
with: with:
repository: "coder/code-server" branch: release/v${{ steps.version.outputs.version }}
tag: v${{ steps.version.outputs.version }} workflow: build.yaml
fileName: "npm-package" workflow_conclusion: completed
out-file-path: "release-npm-package" name: "npm-package"
path: release-npm-package
- name: Publish npm package and tag with "latest" - name: Publish npm package and tag with "latest"
run: yarn publish:npm run: yarn publish:npm

View File

@ -249,24 +249,3 @@ jobs:
draft: true draft: true
discussion_category_name: "📣 Announcements" discussion_category_name: "📣 Announcements"
files: ./release-packages/* files: ./release-packages/*
npm-package:
name: Upload npm package
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Download artifacts
uses: dawidd6/action-download-artifact@v2
id: download
with:
branch: ${{ github.ref }}
workflow: build.yaml
workflow_conclusion: completed
check_artifacts: true
name: npm-package
- uses: softprops/action-gh-release@v1
with:
draft: true
discussion_category_name: "📣 Announcements"
files: ./npm-package

View File

@ -141,7 +141,8 @@ changelog](https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS).
### Publishing a release ### Publishing a release
1. Create a new branch called `release` 1. Create a new branch called `release/v0.0.0` (replace 0s with actual version aka v4.5.0)
1. If you don't do this, the `npm-brew` GitHub workflow will fail. It looks for the release artifacts under the branch pattern.
1. Run `yarn release:prep` 1. Run `yarn release:prep`
1. Bump chart version in `Chart.yaml`. 1. Bump chart version in `Chart.yaml`.
1. Summarize the major changes in the `CHANGELOG.md` 1. Summarize the major changes in the `CHANGELOG.md`

View File

@ -3,7 +3,7 @@
"name": "test-plugin", "name": "test-plugin",
"version": "1.0.0", "version": "1.0.0",
"engines": { "engines": {
"code-server": "*" "code-server": "^4.8.1"
}, },
"main": "out/index.js", "main": "out/index.js",
"devDependencies": { "devDependencies": {