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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## v2.33.1 - 2025-12-16

### Fixed

- ci: npm trusted publishing (#741)

## v2.33.0 - 2025-12-16

### Added
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

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

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "2.33.0"
version = "2.33.1"
edition = "2024"
rust-version = "1.90.0"
authors = ["Squawk Team & Contributors"]
Expand Down Expand Up @@ -60,13 +60,13 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }

# local
# we have to make the versions explicit otherwise `cargo publish` won't work
squawk-github = { path = "./crates/squawk_github", version = "2.33.0" }
squawk-ide = { path = "./crates/squawk_ide", version = "2.33.0" }
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.33.0" }
squawk-parser = { path = "./crates/squawk_parser", version = "2.33.0" }
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.33.0" }
squawk-linter = { path = "./crates/squawk_linter", version = "2.33.0" }
squawk-server = { path = "./crates/squawk_server", version = "2.33.0" }
squawk-github = { path = "./crates/squawk_github", version = "2.33.1" }
squawk-ide = { path = "./crates/squawk_ide", version = "2.33.1" }
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.33.1" }
squawk-parser = { path = "./crates/squawk_parser", version = "2.33.1" }
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.33.1" }
squawk-linter = { path = "./crates/squawk_linter", version = "2.33.1" }
squawk-server = { path = "./crates/squawk_server", version = "2.33.1" }

[workspace.lints.clippy]
collapsible_else_if = "allow"
Expand Down
2 changes: 1 addition & 1 deletion crates/squawk_github/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use serde_json::Value;
use std::time::Duration;
use std::time::{SystemTime, UNIX_EPOCH};

pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.33.0";
pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.33.1";

#[derive(Debug, Serialize)]
struct CommentBody {
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
squawk = final.rustPlatform.buildRustPackage {
pname = "squawk";
version = "2.33.0";
version = "2.33.1";

cargoLock = {
lockFile = ./Cargo.lock;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squawk-cli",
"version": "2.33.0",
"version": "2.33.1",
"description": "linter for PostgreSQL, focused on migrations",
"repository": "git@github.com:sbdchd/squawk.git",
"author": "Squawk Team & Contributors",
Expand Down
12 changes: 6 additions & 6 deletions s/update-version
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ main() {
echo "Auto-incrementing to $NEW_VERSION"
fi

echo "Checking out master branch..."
if ! git checkout master; then
echo "Error: Failed to checkout master branch"
echo "Switching to master branch..."
if ! git switch master; then
echo "Error: Failed to switch to master branch"
exit 1
fi

echo "Creating new release branch: release-$NEW_VERSION"
git checkout -b "release-$NEW_VERSION"
echo "Switching to release branch: release-$NEW_VERSION"
git switch "release-$NEW_VERSION" 2>/dev/null || git switch -c "release-$NEW_VERSION"
echo "updating version to '$NEW_VERSION'..."
fastmod --accept-all '^version = ".*"' 'version = "'$NEW_VERSION'"' Cargo.toml
fastmod --accept-all '(squawk-[a-z_]+ = \{ path = "[^"]+", )version = "[^"]+"' '${1}version = "'$NEW_VERSION'"' Cargo.toml
Expand All @@ -44,7 +44,7 @@ main() {

echo "Fetching commits since $LATEST_TAG..."
COMMITS_FILE=$(mktemp)
git log ${LATEST_TAG}..HEAD --pretty=format:"- %s" > "$COMMITS_FILE"
git log ${LATEST_TAG}..master --pretty=format:"- %s" > "$COMMITS_FILE"

TEMP_CHANGELOG=$(mktemp)
awk -v date="$CURRENT_DATE" -v version="$NEW_VERSION" -v commits_file="$COMMITS_FILE" '
Expand Down
2 changes: 1 addition & 1 deletion squawk-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"icon": "icon.png",
"author": "Squawk Team & Contributors",
"license": "(Apache-2.0 OR MIT)",
"version": "2.33.0",
"version": "2.33.1",
"engines": {
"vscode": "^1.101.0"
},
Expand Down
Loading