mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix: swagger version
This commit is contained in:
parent
6ee122f45d
commit
ea15c7e4ef
@ -56,7 +56,7 @@ tasks:
|
||||
- go install github.com/gobuffalo/packr/...@v1.10.4
|
||||
- go install github.com/haya14busa/goverage@latest
|
||||
- go install github.com/snikch/goodman/cmd/goodman@latest
|
||||
- go install github.com/go-swagger/go-swagger/cmd/swagger@latest
|
||||
- go install github.com/go-swagger/go-swagger/cmd/swagger@v0.29.0
|
||||
- '{{ if ne OS "windows" }} sh -c "curl -L https://github.com/goreleaser/goreleaser/releases/download/v{{ .GORELEASER_VERSION }}/goreleaser_$(uname -s)_$(uname -m).tar.gz | tar -xz -C $(go env GOPATH)/bin goreleaser"{{ else }} {{ end }}'
|
||||
- '{{ if ne OS "windows" }} chmod +x $(go env GOPATH)/bin/goreleaser{{ else }} {{ end }}'
|
||||
- '{{ if eq OS "windows" }} echo "NOTICE: You must download goreleaser manually to build this application https://github.com/goreleaser/goreleaser/releases "{{ else }}:{{ end }}'
|
||||
|
@ -35,32 +35,15 @@
|
||||
<div class="mt-1 mb-4">
|
||||
<span class="caption">git:</span>
|
||||
<v-chip
|
||||
v-for="x in ['ssh', 'https', 'file', 'git']"
|
||||
x-small
|
||||
class="ml-1"
|
||||
:color="type ==='file' ? 'primary' : ''"
|
||||
@click="setType('file')"
|
||||
:color="type ===x ? 'primary' : ''"
|
||||
@click="setType(x)"
|
||||
style="font-weight: bold;"
|
||||
>
|
||||
file
|
||||
</v-chip>
|
||||
<v-chip
|
||||
x-small
|
||||
class="ml-1"
|
||||
:color="type ==='git' ? 'primary' : ''"
|
||||
@click="setType('git')"
|
||||
style="font-weight: bold;"
|
||||
>
|
||||
git
|
||||
</v-chip>
|
||||
<v-chip
|
||||
x-small
|
||||
class="ml-1"
|
||||
:color="type ==='ssh' ? 'primary' : ''"
|
||||
@click="setType('ssh')"
|
||||
style="font-weight: bold;"
|
||||
>
|
||||
ssh
|
||||
</v-chip>
|
||||
:key="x"
|
||||
>{{ x }}</v-chip>
|
||||
|
||||
<span class="caption ml-3">local:</span>
|
||||
<v-chip
|
||||
x-small
|
||||
@ -181,7 +164,7 @@ export default {
|
||||
return 'ssh';
|
||||
}
|
||||
|
||||
if (!['git', 'file', 'ssh'].includes(m[1])) {
|
||||
if (!['git', 'file', 'ssh', 'https'].includes(m[1])) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user