diff --git a/META6.json b/META6.json index 6ff5885..7e20735 100644 --- a/META6.json +++ b/META6.json @@ -1,8 +1,9 @@ { - "perl" : "6.*", + "perl" : "6.d", "name" : "Test::Mock", + "auth" : "zef:jnthn", "authors" : [ "Jonathan Worthington " ], - "version" : "1.5", + "version" : "1.6", "description" : "Creation of stub objects using the Arrange, Act, Assert pattern.", "license" : "Artistic-2.0", "depends" : [ "OO::Monitors" ], diff --git a/release.raku b/release.raku new file mode 100644 index 0000000..5ca10aa --- /dev/null +++ b/release.raku @@ -0,0 +1,12 @@ +use JSON::Fast; + +sub MAIN() { + given from-json(slurp('META6.json')) -> (:$version!, *%) { + shell("fez upload"); + tag("release-$version"); + } +} + +sub tag($tag) { + shell "git tag -a -m '$tag' $tag && git push --tags origin" +}