Skip to content

Commit

Permalink
Merge pull request #118 from nabla-studio/davidesegullo/fix-release
Browse files Browse the repository at this point in the history
ci: 👷 add release author
  • Loading branch information
DavideSegullo authored Oct 26, 2024
2 parents a0be46a + 9d9c756 commit 920d313
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ jobs:
- name: Run Nx lint, test and build
run: bunx nx affected -t lint test build --exclude nextjs,vue3

# Step 8: Run the release in dry-run mode
- name: Run Nx release version (dry-run)
# Step 8: Set github authour
- name: Setup git user to "🤖 nabla bot"
run: git config user.email "-" && git config user.name "🤖 nabla bot"

# Step 9: Run the release
- name: Run Nx release version
run: bun run tools/scripts/release.ts -d false

# Step 9: Clean up dist directory
# Step 10: Clean up dist directory
- name: Cleanup dist directory
run: rm -rf ./dist # Remove the dist directory to start fresh
10 changes: 7 additions & 3 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ jobs:
- name: Run Nx lint, test and build
run: bunx nx affected -t lint test build --exclude nextjs,vue3

# Step 8: Run the release in dry-run mode
- name: Run Nx release version (dry-run)
# Step 8: Set github authour
- name: Setup git user to "🤖 nabla bot"
run: git config user.email "-" && git config user.name "🤖 nabla bot"

# Step 9: Run the release
- name: Run Nx release version
run: bun run tools/scripts/release.ts -d false

# Step 9: Clean up dist directory
# Step 10: Clean up dist directory
- name: Cleanup dist directory
run: rm -rf ./dist # Remove the dist directory to start fresh

0 comments on commit 920d313

Please sign in to comment.