mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #3594] [CLOSED] Auto pick current version from go.mod in goreleaser.yml #4786
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/3594
Author: @kevincobain2000
Created: 8/31/2023
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (2)
3be93e6Auto pick version from go.mod. https://github.com/fatedier/frp/pull/35737296bcfChanged to mod version on golangci-lint.yml so it can be tested on pull req📊 Changes
2 files changed (+6 additions, -5 deletions)
View changed files
📝
.github/workflows/golangci-lint.yml(+3 -2)📝
.github/workflows/goreleaser.yml(+3 -3)📄 Description
Summary
Updates
goreleaser.ymlto auto pick go version fromgo.modWHY
Related to https://github.com/fatedier/frp/pull/3573, so you don't have to change the version each time when
go.modis changed.I also considered updating
golangci-lint.ymland add a matrix as below:That will auto pick up go version from
go.modand thelatestversion that is released. But wasn't sure if you are trying to limit the number of jobs and wasn't on matrix for a special reason.Action is using https://github.com/kevincobain2000/gobrew for more information.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.