Skip to content

Commit f057106

Browse files
committed
fix(ci): publish packages workflows and bump version to 0.9.93
1 parent bda1841 commit f057106

File tree

4 files changed

+6
-26
lines changed

4 files changed

+6
-26
lines changed

.github/workflows/flutter-package.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,4 @@ jobs:
8080
# Publish to pub.dev
8181
cd $FLUTTER_DIR
8282
dart pub get
83-
dart pub publish --dry-run
8483
dart pub publish --force

.github/workflows/python-package.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@ on:
1313
type: boolean
1414
default: false
1515

16-
workflow_run:
17-
workflows: ["Build, Test and Release"]
18-
types:
19-
- completed
16+
push:
17+
tags:
18+
- '*.*.*'
2019

2120
jobs:
2221
build-and-publish:
23-
if: |
24-
github.event_name == 'workflow_dispatch' ||
25-
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main')
2622
runs-on: ${{ matrix.os }}
2723
permissions:
2824
id-token: write # mandatory for Pypi trusted publishing
@@ -76,13 +72,8 @@ jobs:
7672
- name: Get version
7773
id: get_version
7874
run: |
79-
if [[ "${{ github.event_name }}" == "workflow_run" ]]; then
80-
# Fetch latest published release tag from GitHub API
81-
VERSION=$(curl -s "https://api.github.com/repos/${{ github.repository }}/releases/latest" | jq -r '.tag_name')
82-
if [ "$VERSION" = "null" ] || [ -z "$VERSION" ]; then
83-
echo "Error: Failed to get latest release version"
84-
exit 1
85-
fi
75+
if [[ "${{ github.event_name }}" == "push" ]]; then
76+
VERSION=${GITHUB_REF#refs/tags/}
8677
else
8778
VERSION="${{ github.event.inputs.version }}"
8879
fi

packages/flutter/CHANGELOG.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.92"
27+
#define SQLITE_VECTOR_VERSION "0.9.93"
2828

2929
SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)