Skip to content

Commit

Permalink
chore: new version: v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Mar 21, 2024
1 parent 03043d0 commit 097b950
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# CHANGELOG


## v0.0.2


## v0.0.1


### 21 Mar 2024

- ([`03043d0`](https://github.com/russmatney/log/commit/03043d0)) chore: version and changelog update
- ([`c0a9e37`](https://github.com/russmatney/log/commit/c0a9e37)) docs: extend changelog to specify a latest version label

> This lets me write the changelog with the new tag before it actually
Expand All @@ -25,12 +29,6 @@
- ([`7e210ae`](https://github.com/russmatney/log/commit/7e210ae)) feat: generating initial changelog
- ([`f3be3be`](https://github.com/russmatney/log/commit/f3be3be)) wip: bb code gathering commits per tag

## v0.0.0


### 21 Mar 2024

- ([`e00bc10`](https://github.com/russmatney/log/commit/e00bc10)) feat: plugin version, split out todos
- ([`1c7b719`](https://github.com/russmatney/log/commit/1c7b719)) chore: expand ci to cover more godot versions

Expand Down
2 changes: 1 addition & 1 deletion addons/log/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Log.pr(\"some str\", some_object)
- Prefixes logs with the callsite's source file
- Opt-in to pretty printing via duck-typing (implement a `to_printable()` method on the object)"
author="Russell Matney"
version="0.0.1"
version="0.0.2"
script="plugin.gd"
22 changes: 16 additions & 6 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,21 @@
test-match (let [arg (some-> *command-line-args* first)]
(shell-and-log (str "./addons/gdUnit4/runtest.sh -c -a " arg)))

release (do
(println "Update version in addons/log/plugin.cfg")
(println "Run `bb changelog <new-version-tag>` to update the Changelog.md")
(println "Write commit for new version")
(println "Run add-and-push-tag <new-version-tag>"))
release
(do
(println "Update version in addons/log/plugin.cfg")
(println "Run `bb changelog <new-version-tag>` to update the Changelog.md")
(println "Stage expected files (plugin.cfg and changelog.md)")
(println "Run `bb commit-version <new-version-tag>`")
(println "Run `bb add-and-push-tag <new-version-tag>`"))

commit-version
(let [tag (some-> *command-line-args* first)]
(if-not tag
(println "Expected passed tag")
(do
(println "Writing commit for all staged changes!")
(shell-and-log (str "git commit -m 'chore: new version: " tag "'")))))

changelog (let [tag-overwrite (some-> *command-line-args* first)]
(changelog/rewrite-changelog {:latest-tag-label tag-overwrite}))
Expand All @@ -30,5 +40,5 @@
(do
(println "Creating and pushing tag!")
(println "WARN: Assuming the current HEAD should be tagged and pushed")
(shell-and-log (str "git tag -a " tag))
(shell-and-log (str "git tag " tag))
(shell-and-log (str "git push origin " tag)))))}}

0 comments on commit 097b950

Please sign in to comment.