Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump goreleaser version and optimize get-version #2127

Merged
merged 2 commits into from
Sep 22, 2023

Commits on Sep 18, 2023

  1. Bump goreleaser version and optimize get-version

    With go version v1.20.7, goreleaser version also need to be upgraded to
    v1.15.2.
    
    Also in get-version task we were running two steps and both the
    steps were using same image, hence merged both into a single step. Also
    the task was using goreleaser image which is more than 300M in size,
    instead using alpine/git which is ~21M
    
    Also use tkn hub install to install tasks from catalog so that we always
    use the latest one available
    
    Signed-off-by: vinamra28 <[email protected]>
    vinamra28 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fc54c93 View commit details
    Browse the repository at this point in the history
  2. Update goreleaser.yaml according to latest version

    With goreleaser version v1.14.0, archives.replacements and
    nfpms.replacements have been deprecated and we can leverage their
    respective name_template and file_name_template. Also the `replacements`
    property has been removed in v1.19.0.
    
    Updating goreleaser.yaml as per the suggested approach specified at
    https://goreleaser.com/deprecations/#archivesreplacements
    
    Signed-off-by: vinamra28 <[email protected]>
    vinamra28 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b233d50 View commit details
    Browse the repository at this point in the history