diff --git a/CHANGELOG.md b/CHANGELOG.md index 210a406..a2d6896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Next (YYYY-MM-DD) +## v1.0.10 (2022-06-01) + +- Use BORS. +- Update to nix 0.24, limit features to only those used ([#6](https://github.com/watchexec/clearscreen/pull/6)). + ## v1.0.9 (2021-12-02) - Change CI test to test Windows 10 detection with a manifested test executable. diff --git a/CITATION.cff b/CITATION.cff index bbe476c..2ceca37 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,7 +5,7 @@ message: If you use this software, please cite it using these metadata. title: ClearScreen version: 1.0.6 -date-released: 2021-12-02 +date-released: 2022-06-01 repository-code: https://github.com/watchexec/clearscreen license: Apache-2.0 OR MIT diff --git a/Cargo.toml b/Cargo.toml index 591015d..e9ac28b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clearscreen" -version = "1.0.9" +version = "1.0.10" authors = ["FĂ©lix Saparelli "] license = "Apache-2.0 OR MIT" diff --git a/README.md b/README.md index e749544..0f775ba 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ See my research notes in the [TERMINALS.md](./TERMINALS.md) file. ```toml [dependencies] -clearscreen = "1.0.9" +clearscreen = "1.0.10" ``` ```rust diff --git a/bin/version b/bin/version index f408222..b3417b1 100755 --- a/bin/version +++ b/bin/version @@ -39,6 +39,7 @@ fi date=$(date +%Y-%m-%d) echo "Next version to be $newver ($date), creating..." +git switch -C release sed -E -i "s/^## Next.*$/## Next (YYYY-MM-DD)\n\n## v$newver ($date)/1" CHANGELOG.md sed -E -i "s/^clearscreen = \"$extver\"/clearscreen = \"$newver\"/1" README.md @@ -49,7 +50,10 @@ sed -E -i "s/^date-released: .+$/date-released: $date/1" CITATION.cff cargo check git commit -am "$newver" -git tag -sam "$newver" "v$newver" -echo "Pushing to upstream" -git push --follow-tags $upstream $mainbranch +echo "Pushing to upstream, make a PR for Bors then release with GH" +git push -u $upstream release + +echo "Deleting local release branch" +git switch main +git branch -D release