2 Commits
Author SHA1 Message Date
warkanum a224961596 chore(release): bump version to 1.0.0
CI / Test (push) Successful in 23s
CI / Build (push) Canceled after 33s
Release / Test (push) Successful in 23s
Release / Release (push) Successful in 1m24s
Release / RPM package (push) Successful in 1m8s
Release / Windows installer (push) Successful in 1m16s
Release / AUR package (pgtidy-bin) (push) Successful in 58s
Release / AUR package (pgtidy-src) (push) Successful in 1m8s
Release / VSCode Extension (push) Successful in 39s
Release / DataGrip Plugin (push) Successful in 2m55s
Release / Debian packages (push) Failing after 43s
2026-10-12 21:29:25 +02:00
warkanum f0b0477931 ci(release): rename source AUR package to pgtidy-src
Rename the source-built AUR package from pgtidy to pgtidy-src. It
provides and conflicts with pgtidy, matching pgtidy-bin.
2026-10-12 21:27:29 +02:00
7 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pkg: [pgtidy-bin, pgtidy]
pkg: [pgtidy-bin, pgtidy-src]
steps:
- uses: actions/checkout@v4
+2 -2
View File
@@ -47,9 +47,9 @@ release:
NEXT="v$$MAJOR.$$MINOR.$$((PATCH + 1))"; \
PKGVER="$$MAJOR.$$MINOR.$$((PATCH + 1))"; \
echo "Current: $$CURRENT → Next: $$NEXT"; \
sed -i "s/^pkgver=.*/pkgver=$$PKGVER/" linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy/PKGBUILD; \
sed -i "s/^pkgver=.*/pkgver=$$PKGVER/" linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy-src/PKGBUILD; \
sed -i "s/^Version:.*/Version: $$PKGVER/" linux/centos/pgtidy.spec; \
git add linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy/PKGBUILD linux/centos/pgtidy.spec; \
git add linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy-src/PKGBUILD linux/centos/pgtidy.spec; \
git commit -m "chore(release): bump version to $$PKGVER"; \
git tag -a "$$NEXT" -m "Release $$NEXT"; \
git push origin HEAD "$$NEXT"; \
+1 -1
View File
@@ -1,6 +1,6 @@
pluginGroup=com.pgtidy
pluginName=PgTidy
pluginVersion=0.1.0
pluginVersion=1.0.0
pluginSinceBuild=243
# DataGrip 2024.3
platformVersion=2024.3
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "pgtidy",
"displayName": "PgTidy",
"description": "PostgreSQL formatter and linter powered by pgtidy",
"version": "0.1.0",
"version": "1.0.0",
"publisher": "warky-devs",
"author": {
"name": "Hein Puth",
+1 -1
View File
@@ -1,6 +1,6 @@
# Maintainer: Hein (Warky Devs) <hein@warky.dev>
pkgname=pgtidy-bin
pkgver=0.0.10
pkgver=1.0.0
pkgrel=1
pkgdesc="PostgreSQL SQL formatter and linter"
arch=('x86_64' 'aarch64')
@@ -1,32 +1,33 @@
# Maintainer: Hein (Warky Devs) <hein@warky.dev>
pkgname=pgtidy
pkgver=0.0.10
pkgname=pgtidy-src
pkgver=1.0.0
pkgrel=1
pkgdesc="PostgreSQL SQL formatter and linter"
arch=('x86_64' 'aarch64')
url="https://git.warky.dev/wdevs/pgtidy"
license=('MIT')
makedepends=('go')
conflicts=('pgtidy-bin')
provides=('pgtidy')
conflicts=('pgtidy')
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/pgtidy-v$pkgver-source.tar.gz")
sha256sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
cd "pgtidy-$pkgver"
export CGO_ENABLED=0
go build \
-trimpath \
-ldflags "-X main.version=v$pkgver" \
-o "$pkgname" ./cmd/pgtidy
-o pgtidy ./cmd/pgtidy
}
check() {
cd "$pkgname-$pkgver"
cd "pgtidy-$pkgver"
go test ./...
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
cd "pgtidy-$pkgver"
install -Dm755 "pgtidy" "$pkgdir/usr/bin/pgtidy"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+1 -1
View File
@@ -1,5 +1,5 @@
Name: pgtidy
Version: 0.0.10
Version: 1.0.0
Release: 1%{?dist}
Summary: PostgreSQL SQL formatter and linter