|
7 | 7 | dist: release
|
8 | 8 |
|
9 | 9 | builds:
|
10 |
| - - id: go-feature-flag-migration-cli |
11 |
| - main: ./cmd/migrationcli |
12 |
| - binary: go-feature-flag-migration-cli |
13 |
| - env: |
14 |
| - - CGO_ENABLED=0 |
15 |
| - goos: |
16 |
| - - darwin |
17 |
| - - linux |
18 |
| - - windows |
19 |
| - goarch: |
20 |
| - - 386 |
21 |
| - - amd64 |
22 |
| - - arm64 |
23 |
| - - arm |
24 |
| - goarm: |
25 |
| - - 6 |
26 |
| - - 7 |
27 |
| - ignore: |
28 |
| - - goos: darwin |
29 |
| - goarch: 386 |
30 |
| - - goos: linux |
31 |
| - goarch: arm |
32 |
| - goarm: 6 |
33 |
| - |
34 | 10 | # DEPRECATED: check go-feature-flag
|
35 | 11 | # We aim to deprecate the name relay proxy, so the main build should be called go-feature-flag
|
36 | 12 | - id: go-feature-flag-relay-proxy
|
@@ -138,19 +114,6 @@ builds:
|
138 | 114 | - "7"
|
139 | 115 |
|
140 | 116 | archives:
|
141 |
| - - id: go-feature-flag-migration-cli |
142 |
| - name_template: "go-feature-flag-migration-cli_\ |
143 |
| - {{ .Version }}_\ |
144 |
| - {{- title .Os }}_\ |
145 |
| - {{- if eq .Arch \"amd64\" }}x86_64\ |
146 |
| - {{- else if eq .Arch \"386\" }}i386\ |
147 |
| - {{- else }}{{ .Arch }}{{ end }}\ |
148 |
| - {{- with .Arm }}v{{ . }}{{ end }}\ |
149 |
| - {{- with .Mips }}_{{ . }}{{ end }}\ |
150 |
| - {{- if not (eq .Amd64 \"v1\") }}{{ .Amd64 }}{{ end }}" |
151 |
| - builds: |
152 |
| - - go-feature-flag-migration-cli |
153 |
| - |
154 | 117 | - id: go-feature-flag-editor
|
155 | 118 | name_template: "go-feature-flag-editor_\
|
156 | 119 | {{ .Version }}_\
|
@@ -395,60 +358,6 @@ dockers:
|
395 | 358 | - "--label=org.opencontainers.image.url=https://gofeatureflag.org/docs/relay_proxy"
|
396 | 359 | - "--label=org.opencontainers.image.version={{ .Version }}"
|
397 | 360 |
|
398 |
| -# migration-cli |
399 |
| - - use: buildx |
400 |
| - goos: linux |
401 |
| - goarch: amd64 |
402 |
| - ids: |
403 |
| - - go-feature-flag-migration-cli |
404 |
| - dockerfile: ./cmd/migrationcli/Dockerfile |
405 |
| - image_templates: |
406 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
407 |
| - build_flag_templates: |
408 |
| - - "--platform=linux/amd64" |
409 |
| - - "--label=org.opencontainers.image.created={{ .Date }}" |
410 |
| - - "--label=org.opencontainers.image.description=A migration command line to move your feature flag configuration file from format GO Feature Flag v0.X to v1.X" |
411 |
| - - "--label=org.opencontainers.image.revision={{ .FullCommit }}" |
412 |
| - - "--label=org.opencontainers.image.source=https://github.com/thomaspoignant/go-feature-flag" |
413 |
| - - "--label=org.opencontainers.image.title=go-feature-flag-migration-cli" |
414 |
| - - "--label=org.opencontainers.image.url=https://gofeatureflag.org/docs/tooling/migrate_v0_v1" |
415 |
| - - "--label=org.opencontainers.image.version={{ .Version }}" |
416 |
| - - use: buildx |
417 |
| - goos: linux |
418 |
| - goarch: arm64 |
419 |
| - ids: |
420 |
| - - go-feature-flag-migration-cli |
421 |
| - dockerfile: ./cmd/migrationcli/Dockerfile |
422 |
| - image_templates: |
423 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
424 |
| - build_flag_templates: |
425 |
| - - "--platform=linux/arm64/v8" |
426 |
| - - "--label=org.opencontainers.image.created={{ .Date }}" |
427 |
| - - "--label=org.opencontainers.image.description=A migration command line to move your feature flag configuration file from format GO Feature Flag v0.X to v1.X" |
428 |
| - - "--label=org.opencontainers.image.revision={{ .FullCommit }}" |
429 |
| - - "--label=org.opencontainers.image.source=https://github.com/thomaspoignant/go-feature-flag" |
430 |
| - - "--label=org.opencontainers.image.title=go-feature-flag-migration-cli" |
431 |
| - - "--label=org.opencontainers.image.url=https://gofeatureflag.org/docs/tooling/migrate_v0_v1" |
432 |
| - - "--label=org.opencontainers.image.version={{ .Version }}" |
433 |
| - - use: buildx |
434 |
| - goos: linux |
435 |
| - goarch: arm |
436 |
| - goarm: 7 |
437 |
| - ids: |
438 |
| - - go-feature-flag-migration-cli |
439 |
| - dockerfile: ./cmd/migrationcli/Dockerfile |
440 |
| - image_templates: |
441 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
442 |
| - build_flag_templates: |
443 |
| - - "--platform=linux/arm/v7" |
444 |
| - - "--label=org.opencontainers.image.created={{ .Date }}" |
445 |
| - - "--label=org.opencontainers.image.description=A migration command line to move your feature flag configuration file from format GO Feature Flag v0.X to v1.X" |
446 |
| - - "--label=org.opencontainers.image.revision={{ .FullCommit }}" |
447 |
| - - "--label=org.opencontainers.image.source=https://github.com/thomaspoignant/go-feature-flag" |
448 |
| - - "--label=org.opencontainers.image.title=go-feature-flag-migration-cli" |
449 |
| - - "--label=org.opencontainers.image.url=https://gofeatureflag.org/docs/tooling/migrate_v0_v1" |
450 |
| - - "--label=org.opencontainers.image.version={{ .Version }}" |
451 |
| - |
452 | 361 | # lint
|
453 | 362 | - use: buildx
|
454 | 363 | goos: linux
|
@@ -607,56 +516,6 @@ docker_manifests:
|
607 | 516 | - thomaspoignant/go-feature-flag-bookworm:v{{ .RawVersion }}-arm64v8
|
608 | 517 | - thomaspoignant/go-feature-flag-bookworm:v{{ .RawVersion }}-armv7
|
609 | 518 | - thomaspoignant/go-feature-flag-bookworm:v{{ .RawVersion }}-amd64
|
610 |
| -# migration-cli-legacy |
611 |
| - - name_template: thomaspoignant/go-feature-flag-migration-cli:latest |
612 |
| - id: go-feature-flag-migration-cli-latest-legacy |
613 |
| - image_templates: |
614 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
615 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
616 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
617 |
| - - name_template: thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }} |
618 |
| - id: go-feature-flag-migration-cli-tag-legacy |
619 |
| - image_templates: |
620 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
621 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
622 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
623 |
| - - name_template: thomaspoignant/go-feature-flag-migration-cli:v{{ .Major }} |
624 |
| - id: go-feature-flag-migration-cli-major-legacy |
625 |
| - image_templates: |
626 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
627 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
628 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
629 |
| - - name_template: thomaspoignant/go-feature-flag-migration-cli:v{{ .Major }}.{{ .Minor }} |
630 |
| - id: go-feature-flag-migration-cli-major-minor-legacy |
631 |
| - image_templates: |
632 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
633 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
634 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
635 |
| - # migration-cli |
636 |
| - - name_template: gofeatureflag/go-feature-flag-migration-cli:latest |
637 |
| - id: go-feature-flag-migration-cli-latest |
638 |
| - image_templates: |
639 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
640 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
641 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
642 |
| - - name_template: gofeatureflag/go-feature-flag-migration-cli:v{{ .RawVersion }} |
643 |
| - id: go-feature-flag-migration-cli-tag |
644 |
| - image_templates: |
645 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
646 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
647 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
648 |
| - - name_template: gofeatureflag/go-feature-flag-migration-cli:v{{ .Major }} |
649 |
| - id: go-feature-flag-migration-cli-major |
650 |
| - image_templates: |
651 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
652 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
653 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
654 |
| - - name_template: gofeatureflag/go-feature-flag-migration-cli:v{{ .Major }}.{{ .Minor }} |
655 |
| - id: go-feature-flag-migration-cli-major-minor |
656 |
| - image_templates: |
657 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-arm64v8 |
658 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-armv7 |
659 |
| - - thomaspoignant/go-feature-flag-migration-cli:v{{ .RawVersion }}-amd64 |
660 | 519 | # lint-legacy
|
661 | 520 | - name_template: thomaspoignant/go-feature-flag-lint:latest
|
662 | 521 | id: go-feature-flag-lint-latest-legacy
|
@@ -709,17 +568,6 @@ docker_manifests:
|
709 | 568 | - thomaspoignant/go-feature-flag-lint:v{{ .RawVersion }}-amd64
|
710 | 569 |
|
711 | 570 | brews:
|
712 |
| - - ids: |
713 |
| - - go-feature-flag-migration-cli |
714 |
| - name: go-feature-flag-migration-cli |
715 |
| - repository: |
716 |
| - owner: thomaspoignant |
717 |
| - name: homebrew-tap |
718 |
| - branch: master |
719 |
| - caveats: "A migration command line to move your feature flag configuration file from format GO Feature Flag v0.X to v1.X" |
720 |
| - homepage: "https://gofeatureflag.org/docs/tooling/migrate_v0_v1" |
721 |
| - description: "A migration command line to move your feature flag configuration file from format GO Feature Flag v0.X to v1.X" |
722 |
| - skip_upload: auto |
723 | 571 | # DEPRECATED: check go-feature-flag
|
724 | 572 | - ids:
|
725 | 573 | - go-feature-flag-relay-proxy
|
@@ -756,17 +604,6 @@ brews:
|
756 | 604 | skip_upload: auto
|
757 | 605 |
|
758 | 606 | scoops:
|
759 |
| - |
760 |
| - - url_template: https://github.com/thomaspoignant/go-feature-flag/releases/download/{{ .Tag }}/{{ .ArtifactName }} |
761 |
| - ids: [go-feature-flag-migration-cli ] |
762 |
| - name: go-feature-flag-migration-cli |
763 |
| - repository: |
764 |
| - owner: go-feature-flag |
765 |
| - name: scoop |
766 |
| - commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}" |
767 |
| - homepage: "https://gofeatureflag.org/docs/tooling/migrate_v0_v1" |
768 |
| - license: MIT |
769 |
| - |
770 | 607 | # DEPRECATED: check go-feature-flag
|
771 | 608 | - url_template: https://github.com/thomaspoignant/go-feature-flag/releases/download/{{ .Tag }}/{{ .ArtifactName }}
|
772 | 609 | ids: [go-feature-flag-relay-proxy ]
|
|
0 commit comments