diff --git a/.github/template/terraform-deploy b/.github/template/terraform-deploy index 849c979..fa0b038 160000 --- a/.github/template/terraform-deploy +++ b/.github/template/terraform-deploy @@ -1 +1 @@ -Subproject commit 849c979580f92673c86b4c903168aeb70df9d781 +Subproject commit fa0b0385cf83ad2b6abc543085bf413527c22ad5 diff --git a/.github/template/terraform-prepare b/.github/template/terraform-prepare index 42e3afb..4cb81e9 160000 --- a/.github/template/terraform-prepare +++ b/.github/template/terraform-prepare @@ -1 +1 @@ -Subproject commit 42e3afb20019d037e43dc716d8755d51247d74e8 +Subproject commit 4cb81e9265137e540185e215719e97640a1b9d23 diff --git a/README.md b/README.md index 52eb236..500d69d 100644 --- a/README.md +++ b/README.md @@ -29,47 +29,9 @@ Scripts for making managing version control systems easier (read: automatic). ### Git Calendar Versioning -[shell/calver.sh](./shell/calver.sh) - Utility for automatically tagging git repositories using CalVer. +[calver.sh](https://github.com/acrois/calver) - Utility for automatically tagging git repositories using CalVer. -#### Install - -Just want to install this one? The following will probably work for you: - -```sh -sudo curl -o /usr/local/bin/calver.sh https://raw.githubusercontent.com/acrois/calver/HEAD/calver.sh -sudo chmod +x /usr/local/bin/calver.sh -``` - -#### Usage - -[//]: # (using calver.sh) -``` -Usage: - calver.sh --version="2023.19.03" --variant="dev" --revision="10" - calver.sh --date="2023-05-10" --variant="dev" --revision="10" - -Output tags: - Revision: 2023.19.03-dev.10 - Variant: 2023.19.03-dev - Calendar: 2023.19.03 - -Flags: - --format - date format, defaults to %Y.%V.%u according to `man date` - --version - version to release - --date - date to base version off of - --auto - automatically creates variants based on branch name. - if on main, master, or trunk it is "". - if there is no branch, it is "detached". - --variant - adds a variant tag e.g - --revision - adds a revision incrementer after the variant e.g 2023.19.03-dev.10 - --prefix - adds a prefix in front of the version e.g node/2023.19.03-dev.10 - --apply - disable dry run and do it for real - --push - push after applying - --show - show version tag (values: calendar, variant, revision) - --v - verbose output (`set -x`) - --help - prints this useful information -``` -[//]: # (used calver.sh) +For full documentaiton, please see the [calver.sh](https://github.com/acrois/calver) readme. ### Git Branch Archival