From e0c5ca25466f62efe6b6083e02b2dc1434bf95c3 Mon Sep 17 00:00:00 2001 From: kn0wmad <39687477+kn0wmad@users.noreply.github.com> Date: Thu, 11 May 2023 15:45:45 +0000 Subject: [PATCH] Update to v0.5.0 upstream, update migration, update README, add prepare.sh (#13) --- Dockerfile | 2 +- README.md | 5 +++-- manifest.yaml | 6 +++--- prepare.sh | 8 ++++++++ scripts/procedures/migrations.ts | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) create mode 100755 prepare.sh diff --git a/Dockerfile b/Dockerfile index 0a7eee3..02b9708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM recksato/robosats-client:v0.4.3-alpha +FROM recksato/robosats-client:v0.5.0-alpha RUN apt-get update && apt-get install wget curl sudo bash tini -y RUN wget https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64.tar.gz -O - |\ tar xz && mv yq_linux_amd64 /usr/bin/yq diff --git a/README.md b/README.md index b0123bd..8280bb3 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,12 @@ docker run --privileged --rm linuxkit/binfmt:v0.8 ``` 4. Install yq ``` -sudo snap install yq +wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\ + tar xz && mv ${BINARY} /usr/bin/yq ``` 5. Install deno ``` -sudo snap install deno +cargo install deno ``` 6. Install essentials build packages ``` diff --git a/manifest.yaml b/manifest.yaml index 1171204..caafda0 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,9 +1,9 @@ id: robosats title: "RoboSats" -version: 0.4.3.1 +version: 0.5.0 release-notes: | - * Updated to v0.4.3-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.4.3-alpha) - * Added Donation Link for RoboSats team + * Updated to v0.5.0-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.5.0-alpha) + * Updated build instructions in README license: mit wrapper-repo: "https://github.com/kn0wmad/robosats-wrapper" upstream-repo: "https://github.com/Reckless-Satoshi/robosats" diff --git a/prepare.sh b/prepare.sh new file mode 100755 index 0000000..02877c2 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# install yq +wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\ + chmod +x /usr/bin/yq + +# install deno +cargo install deno \ No newline at end of file diff --git a/scripts/procedures/migrations.ts b/scripts/procedures/migrations.ts index e2b9675..d127335 100644 --- a/scripts/procedures/migrations.ts +++ b/scripts/procedures/migrations.ts @@ -1,4 +1,4 @@ import { compat, types as T } from "../deps.ts"; export const migration: T.ExpectedExports.migration = compat.migrations - .fromMapping({}, "0.4.3.1" ); + .fromMapping({}, "0.5.0" );