Skip to content

Commit e1fb657

Browse files
authored
fix: Race condition in release pipeline (#26)
1 parent 15b036f commit e1fb657

4 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
uses: softprops/action-gh-release@v2
129129
with:
130130
tag_name: ${{ needs.create-release.outputs.tag_name }}
131+
draft: true # Keep as draft until all builds complete
131132
files: |
132133
dist/*.exe
133134
dist/*.dmg
@@ -137,3 +138,17 @@ jobs:
137138
dist/latest*.yml
138139
env:
139140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141+
142+
publish-release:
143+
name: Publish Release
144+
needs: [create-release, build-and-upload]
145+
runs-on: ubuntu-latest
146+
147+
steps:
148+
- name: Publish Release
149+
uses: softprops/action-gh-release@v2
150+
with:
151+
tag_name: ${{ needs.create-release.outputs.tag_name }}
152+
draft: false # Publish the release
153+
env:
154+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog],
66
and this project adheres to [Semantic Versioning].
77

8+
## [0.9.3] - 2026-04-03
9+
10+
### Fixed
11+
12+
- Fix race condition in release workflow where builds could publish release before all platforms completed (now waits for all builds before publishing)
13+
814
## [0.9.2] - 2026-04-03
915

1016
### Added

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": "dexreader",
33
"productName": "DexReader",
4-
"version": "0.9.2",
4+
"version": "0.9.3",
55
"description": "An Electron application with React and TypeScript",
66
"main": "./out/main/index.js",
77
"author": "remichan97",

0 commit comments

Comments
 (0)