Skip to content

Commit

Permalink
feat: update to latest version of terraform-deploy and terraform-prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
acrois committed Mar 31, 2024
1 parent c6715fa commit 035440e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/template/terraform-deploy
Submodule terraform-deploy updated 1 files
+60 −0 action.yaml
2 changes: 1 addition & 1 deletion .github/template/terraform-prepare
Submodule terraform-prepare updated 1 files
+56 −0 action.yaml
42 changes: 2 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 035440e

Please sign in to comment.