Skip to content

Commit

Permalink
Increment to v1.4.2-dev
Browse files Browse the repository at this point in the history
And fix an issue in the bundling
  • Loading branch information
theory committed Feb 4, 2024
1 parent fa31539 commit 8ee14fb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Revision history for Perl extension App::Sqitch

1.4.2

1.4.1 2024-02-04T16:35:32Z
- Removed the quoting of the role and warehouse identifiers that was
added to the Snowflake engine in v1.4.0. Turns out Snowflake allows a
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
App/Sqitch version v1.4.1
App/Sqitch version v1.4.2-dev
=========================

| Release | Coverage | Database ||
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = App-Sqitch
license = MIT
copyright_holder = "iovation Inc., David E. Wheeler"
copyright_year = 2012-2024
version = v1.4.1
version = v1.4.2

[GatherDir]
exclude_filename = dist/cpanfile
Expand Down
2 changes: 1 addition & 1 deletion dist/sqitch.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: sqitch
Version: 1.4.1
Version: 1.4.2-dev
Release: 1%{?dist}
Summary: Sensible database change management
License: MIT
Expand Down
2 changes: 1 addition & 1 deletion inc/Module/Build/Sqitch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ sub _set_findbin {
local $^I = '';
local @ARGV = ($file);
while (<>) {
s{^BEGIN}{use FindBin;\nuse lib "\$FindBin::RealBin/../lib/perl5";\nBEGIN};
s{^use App::Sqitch}{use FindBin;\nuse lib "\$FindBin::RealBin/../lib/perl5";\nuse App::Sqitch};
print;
}
}
2 changes: 1 addition & 1 deletion po/App-Sqitch.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: App-Sqitch v1.4.1\n"
"Project-Id-Version: App-Sqitch v1.4.2-dev\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-04 10:23-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
Expand Down
11 changes: 6 additions & 5 deletions xt/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ assumption is that they're set to the old and new versions, respectively, e.g.,
``` sh
export OLD_VERSION=1.3.1
export VERSION=1.4.0
export NEXT_VERSION=1.4.2
```

Preparation
Expand Down Expand Up @@ -131,7 +132,7 @@ then make the updates.

``` sh
git checkout main
perl -i -pe "s/^(VERSION)=.+/\$1=$VERSION/" build
perl -i -pe "s/^(VERSION)=.+/\$1=$VERSION/" .envrc
```

* Commit and push the changes:
Expand Down Expand Up @@ -219,10 +220,10 @@ example, if you've just released `v1.4.0`, change the version to `v1.4.1-dev`.
``` sh
git checkout develop
git merge main
perl -i -pe 's/^(version\s*=).+/$1 v1.4.1-dev/' dist.ini
perl -i -pe 's{(App/Sqitch version).+}{$1 v1.4.1-dev}' README.md
perl -i -pe 's/(Project-Id-Version: App-Sqitch)[^\\n]+/$1 v1.4.1-dev/' po/App-Sqitch.pot
perl -i -pe 's/(Version:\s*).+/${1}1.4.1-dev/' dist/sqitch.spec
perl -i -pe "s/^(version\s*=).+/\$1 v$NEXT_VERSION/" dist.ini
perl -i -pe "s{(App/Sqitch version).+}{\$1 v$NEXT_VERSION-dev}" README.md
perl -i -pe "s/(Project-Id-Version: App-Sqitch)[^\\\\]+/\$1 v$NEXT_VERSION-dev/" po/App-Sqitch.pot
perl -i -pe "s/(Version:\s*).+/\${1}$NEXT_VERSION-dev/" dist/sqitch.spec
```
Also add a line for the new version (without the pre-release part) to the top of
Expand Down

0 comments on commit 8ee14fb

Please sign in to comment.