Skip to content
Closed
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
35 changes: 1 addition & 34 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ blocks:

- name: "Linux amd64: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -166,8 +164,6 @@ blocks:

- name: "Linux arm64: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -222,8 +218,6 @@ blocks:

- name: "Linux amd64 musl: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -272,8 +266,6 @@ blocks:

- name: "Linux arm64 musl: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -322,8 +314,6 @@ blocks:

- name: "macOS arm64/m1: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -375,8 +365,6 @@ blocks:

- name: "Windows x64: Release"
dependencies: [ ]
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
Expand Down Expand Up @@ -460,25 +448,4 @@ blocks:
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
- npx node-pre-gyp package
- ls "build/stage/${env:SEMAPHORE_GIT_TAG_NAME}/${env:ARTIFACT_KEY}"
- artifact push workflow "build/stage/${env:SEMAPHORE_GIT_TAG_NAME}/${env:ARTIFACT_KEY}" --destination "releases/${env:SEMAPHORE_GIT_TAG_NAME}/${env:ARTIFACT_KEY}"

- name: 'Packaging: tar all release artifacts'
dependencies:
- 'Linux amd64: Release'
- 'Linux arm64: Release'
- 'Linux amd64 musl: Release'
- 'Linux arm64 musl: Release'
- 'macOS arm64/m1: Release'
- 'Windows x64: Release'
run:
when: "tag =~ '^v[0-9]\\.'"
task:
agent:
machine:
type: s1-prod-ubuntu20-04-amd64-2
jobs:
- name: "Tarball"
commands:
- artifact pull workflow releases
- tar -czvf releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz releases
- artifact push project "releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/releases.${SEMAPHORE_GIT_TAG_NAME}.tar.gz"
- artifact push workflow "build/stage/${env:SEMAPHORE_GIT_TAG_NAME}/${env:ARTIFACT_KEY}" --destination "releases/${env:SEMAPHORE_GIT_TAG_NAME}/${env:ARTIFACT_KEY}"