Files
status-app/scripts/generate-changelog.sh
Jonathan Rainville 7a1455be96 chore: rename status-desktop to status-app
Adapts the docs and different mentions of the repo from status-desktop to status-app

Also adapts the docs to talk about the Status App and not just Status Dekstop. Adds links to the Mobile build too.
2025-12-10 11:36:43 -05:00

24 lines
649 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
BRANCH_NAME="${BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}"
if [[ -n "${CHANGE_ID:-}" ]]; then
# PR build
SHORT_COMMIT="${GIT_COMMIT:0:7}"
echo "PR #${CHANGE_ID} - ${SHORT_COMMIT}"
echo "Build: #${BUILD_NUMBER}"
echo ""
echo "View PR: https://github.com/status-im/status-app/pull/${CHANGE_ID}"
elif [[ "${BRANCH_NAME}" == release* ]]; then
# Release branch build
echo "Release ${VERSION}"
echo "Build: #${BUILD_NUMBER}"
else
# Regular branch build
SHORT_COMMIT="${GIT_COMMIT:0:7}"
echo "Branch: ${BRANCH_NAME}"
echo "Commit: ${SHORT_COMMIT}"
echo "Build: #${BUILD_NUMBER}"
fi