diff --git a/.woodpecker/.release_amd.yml b/.woodpecker/.release_amd.yml index fc415b8..e06387d 100644 --- a/.woodpecker/.release_amd.yml +++ b/.woodpecker/.release_amd.yml @@ -23,6 +23,8 @@ pipeline: - "upload/*" api_key: from_secret: gitea_token +when: + event: tag depends_on: - test \ No newline at end of file diff --git a/.woodpecker/.release_arm.yml b/.woodpecker/.release_arm.yml index ec48d65..852b722 100644 --- a/.woodpecker/.release_arm.yml +++ b/.woodpecker/.release_arm.yml @@ -23,6 +23,8 @@ pipeline: - "upload/*" api_key: from_secret: gitea_token +when: + event: tag depends_on: - test \ No newline at end of file diff --git a/.woodpecker/.release_code.yml b/.woodpecker/.release_code.yml index f5e16f9..a42fe7c 100644 --- a/.woodpecker/.release_code.yml +++ b/.woodpecker/.release_code.yml @@ -12,6 +12,7 @@ pipeline: buildBin: image: node:18 commands: + - apt-get install zip tar - mkdir outbag_server - mkdir outbag_server/dist - mkdir upload @@ -29,6 +30,9 @@ pipeline: - "upload/*" api_key: from_secret: gitea_token +when: + event: tag + depends_on: - test \ No newline at end of file