Skip to content

Commit bee8a1f

Browse files
chore: promote main (i.e. staging) to production
This promotion merges tested changes from main branch to release for production release.
2 parents d403991 + 8c9ef18 commit bee8a1f

File tree

7 files changed

+57
-8
lines changed

7 files changed

+57
-8
lines changed

.github/workflows/release-desktop.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,35 @@ on:
3131
description: 'CrabNebula release ID'
3232
required: true
3333
type: string
34+
secrets:
35+
BOT_ID:
36+
required: true
37+
BOT_SK:
38+
required: true
39+
APPLE_CERTIFICATE:
40+
required: true
41+
APPLE_CERTIFICATE_PASSWORD:
42+
required: true
43+
APPLE_ID:
44+
required: true
45+
APPLE_PASSWORD:
46+
required: true
47+
APPLE_TEAM_ID:
48+
required: true
49+
KEYCHAIN_PASSWORD:
50+
required: true
51+
TAURI_SIGNING_PRIVATE_KEY:
52+
required: true
53+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD:
54+
required: true
55+
TAURI_SIGNING_PUBLIC_KEY:
56+
required: true
57+
CRABNEBULA_ORG_NAME:
58+
required: true
59+
CRABNEBULA_APP_NAME:
60+
required: true
61+
CRABNEBULA_API_KEY:
62+
required: true
3463

3564
concurrency: build-desktop
3665

.github/workflows/release-web.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
description: 'Release version'
1919
required: true
2020
type: string
21+
secrets:
22+
NETLIFY_SITE_ID:
23+
required: true
24+
NETLIFY_AUTH_TOKEN:
25+
required: true
2126

2227
concurrency: deploy-to-production
2328

.github/workflows/release.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,27 @@ jobs:
124124
path: dist/
125125
retention-days: 1
126126

127-
- name: Debug CrabNebula release command
127+
- name: Validate release outputs
128128
run: |
129-
echo "generate-release-version outputs v2:"
129+
echo "generate-release-version outputs:"
130130
echo "release-version: ${{ steps.generate-release-version.outputs.release-version }}"
131131
echo "release-tag: ${{ steps.generate-release-version.outputs.release-tag }}"
132132
echo "release-notes: ${{ steps.generate-release-version.outputs.release-notes }}"
133133
echo "release-channel: ${{ steps.generate-release-version.outputs.release-channel }}"
134134
135+
# Validate required outputs
136+
if [ -z "${{ steps.generate-release-version.outputs.release-version }}" ]; then
137+
echo "❌ Error: release-version is empty"
138+
exit 1
139+
fi
140+
141+
if [ -z "${{ steps.generate-release-version.outputs.release-tag }}" ]; then
142+
echo "❌ Error: release-tag is empty"
143+
exit 1
144+
fi
145+
146+
echo "✅ All required release outputs are present"
147+
135148
- name: Create draft CrabNebula release
136149
uses: crabnebula-dev/[email protected]
137150
id: create-crabnebula-release
@@ -187,7 +200,9 @@ jobs:
187200
echo "Release commit: $RELEASE_COMMIT"
188201
189202
# Cherry-pick the release commit into main (without merge history)
190-
git cherry-pick $RELEASE_COMMIT --no-commit
203+
# Use -X theirs to automatically resolve conflicts in favor of the release branch
204+
git cherry-pick $RELEASE_COMMIT --no-commit -X theirs
205+
191206
git commit -m "chore: sync stable release $VERSION to main [skip ci]
192207
193208
This commit syncs the stable release version back to main branch

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "algokit-lora",
33
"private": true,
4-
"version": "2.0.3",
4+
"version": "2.0.0-beta.7",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "algokit-lora"
3-
version = "2.0.3"
3+
version = "2.0.0-beta.7"
44
description = "algokit-lora"
55
authors = ["algorand-foundation"]
66
edition = "2021"

0 commit comments

Comments
 (0)