Skip to content

Commit f491991

Browse files
committed
fix(ci): publish packages workflows and bump version to 1.0.1
1 parent 8335edf commit f491991

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

.github/workflows/flutter-package.yml

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

.github/workflows/python-package.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ on:
77
description: "Version to use for the Python package (e.g. 0.5.9)"
88
required: true
99
type: string
10-
workflow_run:
11-
workflows: ["Build, Test and Release"]
12-
types:
13-
- completed
10+
push:
11+
tags:
12+
- '*.*.*'
1413

1514
jobs:
1615
build-and-publish:
17-
if: |
18-
github.event_name == 'workflow_dispatch' ||
19-
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main')
2016
runs-on: ${{ matrix.os }}
2117
permissions:
2218
id-token: write # mandatory for Pypi trusted publishing
@@ -70,9 +66,8 @@ jobs:
7066
- name: Get version
7167
id: get_version
7268
run: |
73-
if [[ "${{ github.event_name }}" == "workflow_run" ]]; then
74-
# Fetch latest published release tag from GitHub API
75-
VERSION=$(curl -s "https://api.github.com/repos/${{ github.repository }}/releases/latest" | jq -r '.tag_name')
69+
if [[ "${{ github.event_name }}" == "push" ]]; then
70+
VERSION=${GITHUB_REF#refs/tags/}
7671
else
7772
VERSION="${{ github.event.inputs.version }}"
7873
fi

packages/flutter/CHANGELOG.md

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

src/sqlite-ai.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_AI_VERSION "1.0.0"
27+
#define SQLITE_AI_VERSION "1.0.1"
2828

2929
SQLITE_AI_API int sqlite3_ai_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)