Skip to content

Commit f39781f

Browse files
committed
ci: Fix release workflow
1 parent cb0e62b commit f39781f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ jobs:
1818
- uses: ./.github/actions/setup
1919

2020
- name: Bump and Tag
21+
id: bump
2122
run: |
2223
git config user.email "github-actions@users.noreply.github.com"
2324
git config user.name "GitHub Actions"
24-
pnpx changelogen@latest --release
25+
bunx changelogen@latest --release
26+
VERSION=$(jq -r '.version' package.json)
27+
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
2528
git push
2629
git push --tags
2730
@@ -59,4 +62,4 @@ jobs:
5962
run: curl -X POST -i ${{ secrets.UPDATE_PROD_WEBHOOK }}
6063

6164
- name: GitHub Release
62-
run: pnpx changelogen@latest gh release --token ${{ secrets.GITHUB_TOKEN }}
65+
run: bunx changelogen@latest gh release --token ${{ secrets.GITHUB_TOKEN }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ FROM oven/bun AS base
22
WORKDIR /app
33
COPY package.json package.json
44
COPY bun.lockb bun.lockb
5-
RUN bun install --production
5+
RUN bun install --production --ignore-scripts
66
COPY . .
77
ENTRYPOINT ["bun", "src/index.ts"]

0 commit comments

Comments
 (0)