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
14 changes: 7 additions & 7 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Release Cargo and Installer Packages
on:
push:
tags:
- "v*" # Trigger on version tags (e.g., v0.1.0)
workflow_dispatch: # Allow manual triggering
- "v*"
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -198,8 +198,11 @@ jobs:
uses: rust-lang/crates-io-auth-action@v1
id: auth

- name: Build tree-sitter-ggsql
run: cargo build --package tree-sitter-ggsql

- name: Publish tree-sitter-ggsql
run: cargo publish --package tree-sitter-ggsql
run: cargo publish --package tree-sitter-ggsql --allow-dirty
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

Expand Down Expand Up @@ -235,15 +238,12 @@ jobs:
run: ls -R artifacts

- name: Create release and upload installers
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
artifacts/**/*.exe
artifacts/**/*.msi
artifacts/**/*.dmg
artifacts/**/*.deb
draft: false
prerelease: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Python Release
on:
push:
tags:
- "py/v*"
- "v*"
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -203,4 +203,3 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: dist/*
generate_release_notes: true
2 changes: 1 addition & 1 deletion .github/workflows/release-vscode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Open VSX Release
on:
push:
tags:
- "vscode/v*"
- "v*"
workflow_dispatch:

permissions:
Expand Down
2 changes: 2 additions & 0 deletions tree-sitter-ggsql/bindings/rust/build.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading