Skip to content

Instantly share code, notes, and snippets.

@lando2319
Created February 21, 2023 15:31
Show Gist options
  • Save lando2319/bf471af8eaf2377b8bcd6410d662f3fb to your computer and use it in GitHub Desktop.
Save lando2319/bf471af8eaf2377b8bcd6410d662f3fb to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Updating Release State (.releaseState.json) with version $BACKEND_VERSION, with message $RELEASE_MESSAGE"
echo "$(sed '$d' .releaseState.json),
\"$BACKEND_VERSION\":{
\"message\":\"$RELEASE_MESSAGE\",
\"sandbox\":true,
\"production\":false
}
}" > .releaseState.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment