Skip to content

Commit 4b61ee0

Browse files
committed
ci: restore full multi-platform release pipeline
Re-enable Linux, Windows, and Docker builds, store publishing, full S3 cleanup, and all platform S3 tags/metrics that were disabled for the temporary macOS-only release. Made-with: Cursor
1 parent b771e30 commit 4b61ee0

4 files changed

Lines changed: 83 additions & 83 deletions

File tree

.github/workflows/aws-upload-prod.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ jobs:
8585
if [[ -z "$downloadLatestFolderPath" || -z "$upgradeLatestFolderPath" ]]; then
8686
exit 1;
8787
fi
88-
# remove only macOS builds from latest (preserve Linux/Windows)
89-
aws s3 rm s3://${AWS_BUCKET_NAME}/${downloadLatestFolderPath}/ --recursive --exclude "*" --include "*mac*" --include "*darwin*" --include "latest-mac*"
88+
# remove previous build from the latest directory /public/latest
89+
aws s3 rm s3://${AWS_BUCKET_NAME}/${downloadLatestFolderPath} --recursive
9090
91-
# remove only macOS builds from upgrades (preserve Linux/Windows)
92-
aws s3 rm s3://${AWS_BUCKET_NAME}/${upgradeLatestFolderPath}/ --recursive --exclude "*" --include "*mac*" --include "*darwin*" --include "latest-mac*"
91+
# remove previous build from the upgrade directory /public/upgrades
92+
aws s3 rm s3://${AWS_BUCKET_NAME}/${upgradeLatestFolderPath} --recursive
9393
9494
# copy current version apps for download to /public/latest
9595
aws s3 cp s3://${AWS_BUCKET_NAME}/private/${applicationVersion}/ \
@@ -124,53 +124,53 @@ jobs:
124124
[objectUpgrade]=${appFileName}'-mac-arm64.zip'
125125
)
126126
127-
# declare -A tag02=(
128-
# [arch]='x64'
129-
# [platform]='windows'
130-
# [objectDownload]=${appFileName}'-win-installer.exe'
131-
# )
127+
declare -A tag02=(
128+
[arch]='x64'
129+
[platform]='windows'
130+
[objectDownload]=${appFileName}'-win-installer.exe'
131+
)
132132
133-
# declare -A tag03=(
134-
# [arch]='x64'
135-
# [platform]='linux_AppImage'
136-
# [objectDownload]=${appFileName}'-linux-x86_64.AppImage'
137-
# )
133+
declare -A tag03=(
134+
[arch]='x64'
135+
[platform]='linux_AppImage'
136+
[objectDownload]=${appFileName}'-linux-x86_64.AppImage'
137+
)
138138
139-
# declare -A tag04=(
140-
# [arch]='x64'
141-
# [platform]='linux_deb'
142-
# [objectDownload]=${appFileName}'-linux-amd64.deb'
143-
# )
139+
declare -A tag04=(
140+
[arch]='x64'
141+
[platform]='linux_deb'
142+
[objectDownload]=${appFileName}'-linux-amd64.deb'
143+
)
144144
145-
# declare -A tag05=(
146-
# [arch]='x64'
147-
# [platform]='linux_rpm'
148-
# [objectDownload]=${appFileName}'-linux-x86_64.rpm'
149-
# )
145+
declare -A tag05=(
146+
[arch]='x64'
147+
[platform]='linux_rpm'
148+
[objectDownload]=${appFileName}'-linux-x86_64.rpm'
149+
)
150150
151-
# declare -A tag06=(
152-
# [arch]='x64'
153-
# [platform]='linux_snap'
154-
# [objectDownload]=${appFileName}'-linux-amd64.snap'
155-
# )
151+
declare -A tag06=(
152+
[arch]='x64'
153+
[platform]='linux_snap'
154+
[objectDownload]=${appFileName}'-linux-amd64.snap'
155+
)
156156
157-
# declare -A tag07=(
158-
# [arch]='arm64'
159-
# [platform]='linux_AppImage'
160-
# [objectDownload]=${appFileName}'-linux-arm64.AppImage'
161-
# )
157+
declare -A tag07=(
158+
[arch]='arm64'
159+
[platform]='linux_AppImage'
160+
[objectDownload]=${appFileName}'-linux-arm64.AppImage'
161+
)
162162
163-
# declare -A tag08=(
164-
# [arch]='arm64'
165-
# [platform]='linux_deb'
166-
# [objectDownload]=${appFileName}'-linux-arm64.deb'
167-
# )
163+
declare -A tag08=(
164+
[arch]='arm64'
165+
[platform]='linux_deb'
166+
[objectDownload]=${appFileName}'-linux-arm64.deb'
167+
)
168168
169-
# declare -A tag09=(
170-
# [arch]='arm64'
171-
# [platform]='linux_rpm'
172-
# [objectDownload]=${appFileName}'-linux-aarch64.rpm'
173-
# )
169+
declare -A tag09=(
170+
[arch]='arm64'
171+
[platform]='linux_rpm'
172+
[objectDownload]=${appFileName}'-linux-aarch64.rpm'
173+
)
174174
175175
# TODO: arm64 snap disabled — no arm64 snap template in electron-builder
176176
# https://github.com/electron-userland/electron-builder/issues/8167

.github/workflows/build.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ on:
2323
type: boolean
2424

2525
jobs:
26-
# build-linux:
27-
# if: contains(inputs.target, 'linux') || inputs.target == 'all'
28-
# uses: ./.github/workflows/pipeline-build-linux.yml
29-
# secrets: inherit
30-
# with:
31-
# environment: ${{ inputs.environment }}
32-
# target: ${{ inputs.target }}
33-
# debug: ${{ inputs.debug }}
34-
# enterprise: ${{ inputs.enterprise }}
26+
build-linux:
27+
if: contains(inputs.target, 'linux') || inputs.target == 'all'
28+
uses: ./.github/workflows/pipeline-build-linux.yml
29+
secrets: inherit
30+
with:
31+
environment: ${{ inputs.environment }}
32+
target: ${{ inputs.target }}
33+
debug: ${{ inputs.debug }}
34+
enterprise: ${{ inputs.enterprise }}
3535

3636
build-macos:
3737
if: contains(inputs.target, 'macos') || inputs.target == 'all'
@@ -43,20 +43,20 @@ jobs:
4343
debug: ${{ inputs.debug }}
4444
enterprise: ${{ inputs.enterprise }}
4545

46-
# build-windows:
47-
# if: contains(inputs.target, 'windows') || inputs.target == 'all'
48-
# uses: ./.github/workflows/pipeline-build-windows.yml
49-
# secrets: inherit
50-
# with:
51-
# environment: ${{ inputs.environment }}
52-
# debug: ${{ inputs.debug }}
53-
# enterprise: ${{ inputs.enterprise }}
54-
55-
# build-docker:
56-
# if: contains(inputs.target, 'docker') || inputs.target == 'all'
57-
# uses: ./.github/workflows/pipeline-build-docker.yml
58-
# secrets: inherit
59-
# with:
60-
# environment: ${{ inputs.environment }}
61-
# debug: ${{ inputs.debug }}
62-
# enterprise: ${{ inputs.enterprise }}
46+
build-windows:
47+
if: contains(inputs.target, 'windows') || inputs.target == 'all'
48+
uses: ./.github/workflows/pipeline-build-windows.yml
49+
secrets: inherit
50+
with:
51+
environment: ${{ inputs.environment }}
52+
debug: ${{ inputs.debug }}
53+
enterprise: ${{ inputs.enterprise }}
54+
55+
build-docker:
56+
if: contains(inputs.target, 'docker') || inputs.target == 'all'
57+
uses: ./.github/workflows/pipeline-build-docker.yml
58+
secrets: inherit
59+
with:
60+
environment: ${{ inputs.environment }}
61+
debug: ${{ inputs.debug }}
62+
enterprise: ${{ inputs.enterprise }}

.github/workflows/github-release-upload.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
PATTERNS=(
5151
"Redis-Insight-mac-x64.dmg"
5252
"Redis-Insight-mac-arm64.dmg"
53-
# "Redis-Insight-win-installer.exe"
54-
# "Redis-Insight-linux-x86_64.AppImage"
55-
# "Redis-Insight-linux-arm64.AppImage"
56-
# "Redis-Insight-linux-amd64.deb"
57-
# "Redis-Insight-linux-arm64.deb"
58-
# "Redis-Insight-linux-x86_64.rpm"
59-
# "Redis-Insight-linux-aarch64.rpm"
60-
# "Redis-Insight-linux-amd64.snap"
53+
"Redis-Insight-win-installer.exe"
54+
"Redis-Insight-linux-x86_64.AppImage"
55+
"Redis-Insight-linux-arm64.AppImage"
56+
"Redis-Insight-linux-amd64.deb"
57+
"Redis-Insight-linux-arm64.deb"
58+
"Redis-Insight-linux-x86_64.rpm"
59+
"Redis-Insight-linux-aarch64.rpm"
60+
"Redis-Insight-linux-amd64.snap"
6161
)
6262
6363
FILES=()

.github/workflows/release-prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
needs: virustotal-prod
3838
secrets: inherit
3939

40-
# publish-stores:
41-
# name: Publish to stores
42-
# uses: ./.github/workflows/publish-stores.yml
43-
# needs: aws-upload-prod
44-
# secrets: inherit
40+
publish-stores:
41+
name: Publish to stores
42+
uses: ./.github/workflows/publish-stores.yml
43+
needs: aws-upload-prod
44+
secrets: inherit
4545

4646
github-release:
4747
name: Upload to GitHub Release

0 commit comments

Comments
 (0)