File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+
7+ jobs :
8+ release :
9+ name : Release
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+
15+ - name : Unshallow
16+ run : git fetch --prune --unshallow
17+
18+ - name : Set up Go
19+ uses : actions/setup-go@v2
20+ with :
21+ go-version : 1.15
22+
23+ - name : Generate changelog
24+ run : |
25+ mkdir .bin
26+ curl -L https://github.com/git-chglog/git-chglog/releases/download/0.9.1/git-chglog_linux_amd64 -o .bin/git-chglog
27+ chmod +x .bin/git-chglog
28+ .bin/git-chglog -c .github/changelog/config.yml -o .bin/DRAFT.md $(git describe --tags $(git rev-list --tags --max-count=1))
29+
30+ - name : Run GoReleaser
31+ uses : goreleaser/goreleaser-action@v2
32+ with :
33+ version : latest
34+ args : release -f .github/goreleaser.yml --rm-dist --release-notes=.bin/DRAFT.md
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
107107 Name : "cloudsigma-cpu-type" ,
108108 Usage : "CPU type" ,
109109 },
110- mcnflag.StringFlag {
111- EnvVar : "CLOUDSIGMA_DRIVE_NAME" ,
112- Name : "cloudsigma-drive-name" ,
113- Usage : "CloudSigma drive name" ,
114- Value : defaultDriveName ,
115- },
110+ // mcnflag.StringFlag{
111+ // EnvVar: "CLOUDSIGMA_DRIVE_NAME",
112+ // Name: "cloudsigma-drive-name",
113+ // Usage: "CloudSigma drive name",
114+ // Value: defaultDriveName,
115+ // },
116116 mcnflag.IntFlag {
117117 EnvVar : "CLOUDSIGMA_DRIVE_SIZE" ,
118118 Name : "cloudsigma-drive-size" ,
You can’t perform that action at this time.
0 commit comments