Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Release

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
release:
name: Create Release
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get previous tag
id: prev_tag
run: |
PREV_TAG=$(git tag --sort=-v:refname | head -2 | tail -1)
echo "tag=$PREV_TAG" >> $GITHUB_OUTPUT

- name: Generate changelog
id: changelog
run: |
CHANGELOG=$(git log ${{ steps.prev_tag.outputs.tag }}..HEAD --pretty=format:"- %s (%h)" --no-merges)
echo "changelog<<EOF" >> $GITHUB_OUTPUT
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- name: Create Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
body: |
## Changes

${{ steps.changelog.outputs.changelog }}

**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.prev_tag.outputs.tag }}...${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40 changes: 35 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules/
/.pnp
.pnp.js
.yarn/install-state.gz
Expand All @@ -10,7 +10,7 @@
/coverage

# next.js
/.next/
.next/
/out/

# production
Expand All @@ -26,15 +26,45 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env
.env.local
.env.*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
ENV/

# CDK
cdk.out/
cdk.context.json

# Deploy scripts temp files
deploy/.build_output/
deploy/.agentcore_output/
deploy/config.env

# IDE
.idea/
.vscode/
*.swp
*.swo

# Reference resources (not part of main project)
resource/

# Generated worker files
/public/pdf.worker.min.mjs
frontend/node_modules
frontend/.next/
/public/gif.worker.js
Loading
Loading