Skip to content

Commit 6bdc774

Browse files
Fix release workflow: remove conflicting release creation from update-stable, let electron workflow handle it #release
1 parent 5f2bba2 commit 6bdc774

3 files changed

Lines changed: 3 additions & 26 deletions

File tree

.github/workflows/update-stable.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ jobs:
8080
NEW_VERSION=${{ steps.bump_version.outputs.new_version }}
8181
pnpm version $NEW_VERSION --no-git-tag-version --allow-same-version
8282
83-
- name: Prepare changelog script
84-
run: chmod +x .github/scripts/generate-changelog.sh
85-
86-
- name: Generate Changelog
87-
id: changelog
88-
env:
89-
NEW_VERSION: ${{ steps.bump_version.outputs.new_version }}
90-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
92-
run: .github/scripts/generate-changelog.sh
93-
9483
- name: Get the latest commit hash and version tag
9584
run: |
9685
echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
@@ -99,7 +88,7 @@ jobs:
9988
- name: Commit and Tag Release
10089
run: |
10190
git pull
102-
git add package.json pnpm-lock.yaml changelog.md
91+
git add package.json pnpm-lock.yaml
10392
git commit -m "chore: release version ${{ steps.bump_version.outputs.new_version }}"
10493
git tag "v${{ steps.bump_version.outputs.new_version }}"
10594
git push
@@ -113,15 +102,3 @@ jobs:
113102
fi
114103
git merge main --no-ff -m "chore: release version ${{ steps.bump_version.outputs.new_version }}"
115104
git push --set-upstream origin stable --force
116-
117-
- name: Create GitHub Release
118-
env:
119-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120-
run: |
121-
VERSION="v${{ steps.bump_version.outputs.new_version }}"
122-
# Save changelog to a file
123-
echo "${{ steps.changelog.outputs.content }}" > release_notes.md
124-
gh release create "$VERSION" \
125-
--title "Release $VERSION" \
126-
--notes-file release_notes.md \
127-
--target stable

app/routes/api.update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { json, type ActionFunction } from '@remix-run/cloudflare';
22

3-
const CURRENT_VERSION = '1.1.20';
3+
const CURRENT_VERSION = '1.1.21';
44
const GITHUB_REPO = 'codinit-dev/codinit-dev';
55

66
interface GitHubRelease {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"sideEffects": false,
77
"type": "module",
8-
"version": "1.1.20",
8+
"version": "1.1.21",
99
"author": {
1010
"name": "Gerome-Elassaad",
1111
"email": "contact@codinit.dev"

0 commit comments

Comments
 (0)