Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Add container instructions to release pipeline for apt signing
Merged did:key:z6MkkfM3...sVz5 opened 9 months ago
1 file changed +6 -17 21fda6c9 e48cc100
modified RELEASE.md
@@ -65,35 +65,24 @@

- Sign the Debian package

-
  TODO: automate the signing process with a docker image so it can be done from
-
  the host machine.
-

-
  Currently this happens via an Ubuntu vm manually:
-

  ```bash
-
  # Set the VERSION and SHORT_RELEASE_SHA variables to the same values here
-
  # in the VM as on the host system.
-
  RELEASE_SHA=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-
  SHORT_RELEASE_SHA=XXXXXXXX
-

  cd radicle-apt-repo
  rad sync && git fetch

  curl -fLO \
    "https://minio-api.radworks.garden/radworks-releases/radicle-desktop/pre-release/${VERSION}_${SHORT_RELEASE_SHA}/radicle-desktop_${VERSION}_amd64.deb"

-
  RADICLE_APT_SIGNING_KEY=~/work/apt-signing/rudolfs ./import-deb ./radicle-desktop_${VERSION}_amd64.deb
-
  rm -rf ./radicle-desktop_0.7.1_amd64.deb
+
  podman build -t apt-import scripts
+
  podman run --rm -v ~/work/apt-signing/rudolfs:/src/keys/signing-key -v $(pwd):/src/apt -v ./radicle-desktop_${VERSION}_amd64.deb:/src/tmp.deb apt-import
+

+
  rm -rf ./radicle-desktop_${VERSION}_amd64.deb

  git checkout -b release-v${VERSION}
  git commit -a -m "Update radicle-desktop to ${VERSION}"
-

-
  # Make sure ssh-agent is started and `rad auth` is working, then publish the patch.
-

  git push rad HEAD:refs/patches

-
  # The next step is to merge this patch into main, which effectively publishes
-
  # the Deb packages. Continue this in the publish section below.
+
  # The next step is to merge this patch into main.
+
  # Continue this in the publish section below.
  ```

- Update Arch Linux package info