Skip to content

Commit

Permalink
Merge pull request #354 from MatrixCrawler/publish-to-go-index
Browse files Browse the repository at this point in the history
Update Go Package Index
  • Loading branch information
MatrixCrawler authored Apr 13, 2024
2 parents 6fc5922 + 66ae97c commit 4d66b26
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
release:
types:
- published

name: Update Go Module Index

jobs:
bump-index:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Ping endpoint
run: curl "https://proxy.golang.org/github.com/warrensbox/terraform-switcher/@v/$(git describe HEAD --tags --abbrev=0).info"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
id: semver-tag-dry
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
WITH_V: true
INITIAL_VERSION: 1.0.0
RELEASE_BRANCHES: master
DEFAULT_BUMP: ${{ github.event.inputs.name }}
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Once installed, simply select the version you require from the dropdown and star
## Documentation
Click [here](https://tfswitch.warrensbox.com) for our extended documentation.

## NOTE
Going forward we will change the version identifier of `tfswitch` to align with the common go package versioning.
Please be advised to change any automated implementation you might have that is relying on the `tfswitch` version string.
**Old version string:** `0.1.2412`
**New version string:** `v1.0.0` Note the `v` that is preceding all version numbers.

## Installation
`tfswitch` is available as a binary and on various package managers (eg. Homebrew).

Expand Down

0 comments on commit 4d66b26

Please sign in to comment.