···1--- ./ci/build/npm-postinstall.sh
2+++ ./ci/build/npm-postinstall.sh
3-@@ -24,13 +24,6 @@ main() {
4 ;;
5 esac
67- OS="$(uname | tr '[:upper:]' '[:lower:]')"
8-- if curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent; then
9- chmod +x ./lib/coder-cloud-agent
10- else
11- echo "Failed to download cloud agent; --link will not work"
···13-
14 if ! vscode_yarn; then
15 echo "You may not have the required dependencies to build the native modules."
16- echo "Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"
···1--- ./ci/build/npm-postinstall.sh
2+++ ./ci/build/npm-postinstall.sh
3+@@ -56,13 +56,6 @@
4 ;;
5 esac
67- OS="$(uname | tr '[:upper:]' '[:lower:]')"
8+- if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
9- chmod +x ./lib/coder-cloud-agent
10- else
11- echo "Failed to download cloud agent; --link will not work"
···13-
14 if ! vscode_yarn; then
15 echo "You may not have the required dependencies to build the native modules."
16+ echo "Please see https://github.com/cdr/code-server/blob/master/docs/npm.md"
···1#!/usr/bin/env nix-shell
2-#! nix-shell -i bash -p nodePackages.node2nix nodejs-12_x curl jq
34set -euo pipefail
5# cd to the folder containing this script
···1516echo "matrix-appservice-irc: $CURRENT_VERSION -> $TARGET_VERSION"
1718-sed -i "s/#$CURRENT_VERSION/#$TARGET_VERSION/" package.json
0001920./generate-dependencies.sh
002122# Apparently this is done by r-ryantm, so only uncomment for manual usage
23#git add ./package.json ./node-packages.nix
···1#!/usr/bin/env nix-shell
2+#! nix-shell -i bash -p nodePackages.node2nix nodejs-12_x curl jq nix
34set -euo pipefail
5# cd to the folder containing this script
···1516echo "matrix-appservice-irc: $CURRENT_VERSION -> $TARGET_VERSION"
1718+rm -f package.json package-lock.json
19+wget https://github.com/matrix-org/matrix-appservice-irc/raw/$TARGET_VERSION/package.json
20+wget -O package-lock-temp.json https://github.com/matrix-org/matrix-appservice-irc/raw/$TARGET_VERSION/package-lock.json
21+echo "$TARGET_VERSION" > ./REVISION
2223./generate-dependencies.sh
24+25+rm ./package-lock-temp.json
2627# Apparently this is done by r-ryantm, so only uncomment for manual usage
28#git add ./package.json ./node-packages.nix