Compare commits

..
4 Commits
3 changed files with 11 additions and 4 deletions
Generated
+1 -1
View File
@@ -1709,7 +1709,7 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
[[package]] [[package]]
name = "lemur" name = "lemur"
version = "0.2.3" version = "0.2.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags 2.6.0", "bitflags 2.6.0",
+1 -1
View File
@@ -4,7 +4,7 @@ description = "An emulator for the Virtual Boy."
repository = "https://git.virtual-boy.com/PVB/lemur" repository = "https://git.virtual-boy.com/PVB/lemur"
publish = false publish = false
license = "MIT" license = "MIT"
version = "0.2.3" version = "0.2.5"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
+9 -2
View File
@@ -1,3 +1,4 @@
set -e
version=$(cat Cargo.toml | sed -n -e '/version/ {s/.* = *//p;q}' | tr -d '"') version=$(cat Cargo.toml | sed -n -e '/version/ {s/.* = *//p;q}' | tr -d '"')
read -p "You wanted to release $version, right? [Y/n] " -n 1 -r read -p "You wanted to release $version, right? [Y/n] " -n 1 -r
@@ -18,11 +19,15 @@ if ! command -v jq 2>&1 >/dev/null; then
echo "Please install jq." echo "Please install jq."
exit 1 exit 1
fi fi
if ! command -v docker 2>&1 >/dev/null; then
echo "Please install docker."
exit 1
fi
docker build -f build.Dockerfile -t lemur-build . docker build -f build.Dockerfile -t lemur-build .
MSYS_NO_PATHCONV=1 docker run -it --rm -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-bundle.sh MSYS_NO_PATHCONV=1 docker run -it --rm -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-bundle.sh
read -r -d EOF 'body' <<EOF (read -r -d EOF 'body' <<EOF
## How to install ## How to install
The emulator can be found in the "Downloads" section of this release. The emulator can be found in the "Downloads" section of this release.
@@ -43,8 +48,9 @@ If you're not sure which to choose, use [this guide](https://support.apple.com/e
You can either download and run \`lemur-linux\`, or download and install the attached .deb file. You can either download and run \`lemur-linux\`, or download and install the attached .deb file.
EOF EOF
) || true
read -r -d EOF 'payload' <<EOF (read -r -d EOF 'payload' <<EOF
{ {
"body": $(echo "$body" | jq -Rsa .), "body": $(echo "$body" | jq -Rsa .),
"draft": false, "draft": false,
@@ -53,6 +59,7 @@ read -r -d EOF 'payload' <<EOF
"tag_name": "v${version}" "tag_name": "v${version}"
} }
EOF EOF
) || true
echo "Creating release..." echo "Creating release..."
response=$(curl -s --json "$payload" "https://git.virtual-boy.com/api/v1/repos/PVB/lemur/releases?token=$RELEASE_TOKEN") response=$(curl -s --json "$payload" "https://git.virtual-boy.com/api/v1/repos/PVB/lemur/releases?token=$RELEASE_TOKEN")