github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/cookbooks/set-a-custom-git-tag.md (about)

     1  # Setting a custom git tag
     2  
     3  You can force the [build tag](/customization/build/#define-build-tag) and [previous changelog tag](/customization/release/#define-previous-tag) using environment variables.
     4  This can be useful in cases where one git commit is referenced by multiple git tags.
     5  
     6  Example usage:
     7  
     8  ```sh
     9  export GORELEASER_CURRENT_TAG=v1.2.3
    10  export GORELEASER_PREVIOUS_TAG=v1.1.0
    11  goreleaser release
    12  ```