Skip to content

Commit

Permalink
Merge pull request #340 from lockdown-systems/fix-release-process
Browse files Browse the repository at this point in the history
Upload all deb, rpm, and zip files, to account for cyd_* and cyd-dev_*
  • Loading branch information
micahflee authored Dec 12, 2024
2 parents df4ba8d + b2b8f54 commit 2df7786
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: deb-packages-x86_64
path: out/make/deb/x64/cyd_*.deb
path: out/make/deb/x64/*.deb

- name: Upload RPM artifacts
uses: actions/upload-artifact@v4
with:
name: rpm-packages-x86_64
path: out/make/rpm/x64/cyd-*.rpm
path: out/make/rpm/x64/*.rpm

- name: Upload ZIP artifacts
uses: actions/upload-artifact@v4
with:
name: zip-packages-x86_64
path: out/make/zip/linux/x64/Cyd-*.zip
path: out/make/zip/linux/x64/*.zip

build-arm64:
runs-on: ubuntu-arm64
Expand Down Expand Up @@ -94,16 +94,16 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: deb-packages-arm64
path: out/make/deb/arm64/cyd_*.deb
path: out/make/deb/arm64/*.deb

- name: Upload RPM artifacts
uses: actions/upload-artifact@v4
with:
name: rpm-packages-arm64
path: out/make/rpm/arm64/cyd-*.rpm
path: out/make/rpm/arm64/*.rpm

- name: Upload ZIP artifacts
uses: actions/upload-artifact@v4
with:
name: zip-packages-arm64
path: out/make/zip/linux/arm64/Cyd-*.zip
path: out/make/zip/linux/arm64/*.zip
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,11 @@ npm run start

Do all of these before making a release:

- [ ] Bump the version in `package.json`
- [ ] Manually test with `npm run start` and make sure it runs
- [ ] Make a release, install it, and run the installed binary, and make sure it runs
- [ ] Make a PR where you bump the version in `package.json` and run `npm install`, and merge it
- [ ] Create a release and tag in GitHub

**To make the release:**

Ubuntu build machine:

- [ ] Linux amd64 and Linux arm64: Docker
- `./scripts/publish-dev-linux.sh`
- `cd ../linux-repos`
- need the PGP passphrase
- `./scripts/release-dev.sh`
- [ ] Windows x64: Windows VM
- need the HARICA token PIN
- `npm run publish-dev-windows`

Mac build machine:

- [ ] macOS universal: host
Expand All @@ -57,6 +45,16 @@ Mac build machine:
- need the HARICA token PIN
- `npm run publish-dev-windows`

Ubuntu build machine:

- [ ] Linux amd64 and Linux arm64:
- wait for "Release for Linux" GitHub Actions workflow to finish
- need the PGP passphrase
- `./scripts/release-dev.sh` (from `linux-repos` repo)
- [ ] Windows x64: Windows VM
- need the HARICA token PIN
- `npm run publish-dev-windows`

Finally:

- [ ] Login to admin site and update the version string to the new version
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cyd",
"private": true,
"version": "1.0.16-dev",
"version": "1.0.17-dev",
"main": ".vite/build/main.js",
"description": "Automatically delete your data from tech platforms, except for what you want to keep",
"license": "proprietary",
Expand Down

0 comments on commit 2df7786

Please sign in to comment.