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

Fix overwriting of release from AppVeyor #956

Merged
merged 2 commits into from
Oct 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 1 addition & 93 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,7 @@ environment:
- job_name: MacOS
appveyor_build_worker_image: macos
GOARCH: amd64
# - job_name: Windows
# appveyor_build_worker_image: Visual Studio 2019
# GOARCH: amd64

# For release, by pushing tag
- job_name: linux-amd64
appveyor_build_worker_image: ubuntu1804
GOARCH: amd64
- job_name: linux-arm
appveyor_build_worker_image: ubuntu1804
GOARCH: arm
- job_name: linux-arm64
appveyor_build_worker_image: ubuntu1804
GOARCH: arm64
- job_name: linux-386
appveyor_build_worker_image: ubuntu1804
GOARCH: 386
- job_name: darwin-amd64
appveyor_build_worker_image: macos
GOARCH: amd64
# - job_name: windows-amd64
# appveyor_build_worker_image: Visual Studio 2019
# GOARCH: amd64


for:
- # Linux and MacOS
skip_tags: true
Expand Down Expand Up @@ -75,72 +52,3 @@ for:

build_script:
- make build

- # Linux and MacOS (Release)
skip_non_tags: true
matrix:
only:
- job_name: linux-arm
- job_name: linux-arm64
- job_name: linux-amd64
- job_name: linux-386
- job_name: darwin-amd64

install:
- make dep
- ci_scripts/create-ip-aliases.sh
- export GOARM=7

build_script:
- make build

after_build:
- tar -cvzf skywire-$APPVEYOR_REPO_TAG_NAME-$APPVEYOR_JOB_NAME.tar.gz ./apps/* ./skywire-visor ./skywire-cli ./setup-node

artifacts:
- path: skywire-$(APPVEYOR_REPO_TAG_NAME)-$(APPVEYOR_JOB_NAME).tar.gz
name: deploy

deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: ZrbNBE2wSfGvHzEq5GqEAUmNy7myDIl7KK05CKlZdQfieV7XdIAPXpkdHNEyZbvT
draft: true
artifact: deploy
on:
APPVEYOR_REPO_TAG: true

- # Windows (Release)
skip_non_tags: true
matrix:
only:
- job_name: windows-amd64

environment:
matrix:
- GOARCH: amd64

install:
- cmd: choco install make
- make dep

build_script:
- make build

after_build:
- sh: tar -cvzf skywire-$APPVEYOR_REPO_TAG_NAME-$APPVEYOR_JOB_NAME.tar.gz ./apps/* ./skywire-visor ./skywire-cli ./setup-node

artifacts:
- path: skywire-$(APPVEYOR_REPO_TAG_NAME)-$(APPVEYOR_JOB_NAME).tar.gz
name: deploy

deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: ZrbNBE2wSfGvHzEq5GqEAUmNy7myDIl7KK05CKlZdQfieV7XdIAPXpkdHNEyZbvT
draft: true
artifact: deploy
on:
APPVEYOR_REPO_TAG: true