chore: strip information from fcm notification for testing

This commit is contained in:
Paul Makles
2024-08-30 12:46:37 +01:00
parent 730039eda6
commit d8acaa1107
2 changed files with 9 additions and 8 deletions

View File

@@ -1,14 +1,17 @@
#!/bin/bash
#!/usr/bin/env bash
# Check if an argument was provided
if [ "$#" -eq 0 ]; then
if [ $# -eq 0 ]; then
echo "No arguments provided"
echo "Usage: scripts/build-current-arch.sh 20230826-1"
echo "Usage: scripts/publish-debug-image.sh 20230826-1 true"
echo ""
echo "Last argument specifies whether we should have a debug build as opposed to release build."
exit 1
fi
DEBUG=$2
echo "[profile.release]" >> Cargo.toml
echo "debug = true" >> Cargo.toml
echo "debug = $2" >> Cargo.toml
TAG=$1-debug
echo "Building images, will tag for ghcr.io with $TAG!"