Skip to content

Commit

Permalink
ci: Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Feb 17, 2024
1 parent cb0e62b commit f39781f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
- uses: ./.github/actions/setup

- name: Bump and Tag
id: bump
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
pnpx changelogen@latest --release
bunx changelogen@latest --release
VERSION=$(jq -r '.version' package.json)
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
git push
git push --tags
Expand Down Expand Up @@ -59,4 +62,4 @@ jobs:
run: curl -X POST -i ${{ secrets.UPDATE_PROD_WEBHOOK }}

- name: GitHub Release
run: pnpx changelogen@latest gh release --token ${{ secrets.GITHUB_TOKEN }}
run: bunx changelogen@latest gh release --token ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM oven/bun AS base
WORKDIR /app
COPY package.json package.json
COPY bun.lockb bun.lockb
RUN bun install --production
RUN bun install --production --ignore-scripts
COPY . .
ENTRYPOINT ["bun", "src/index.ts"]

0 comments on commit f39781f

Please sign in to comment.