mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Fixed publish-github-releases and release v1.8.12-alpha.1
This commit is contained in:
@@ -197,14 +197,15 @@ jobs:
|
||||
|
||||
publish-github-releases:
|
||||
docker:
|
||||
- image: circleci/rust:stretch
|
||||
- image: circleci/golang:1.8
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /workspace
|
||||
at: /tmp/workspace
|
||||
- run:
|
||||
name: "Publish release on GitHub"
|
||||
command: |
|
||||
ghr -t "${GITHUB_TOKEN}" -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" -c "${CIRCLE_SHA1}" -replace "${CIRCLE_TAG}" ./workspace/build/release
|
||||
go get github.com/tcnksm/ghr
|
||||
ghr -t "${GITHUB_TOKEN}" -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" -c "${CIRCLE_SHA1}" -replace "${CIRCLE_TAG}" /tmp/workspace/build/release
|
||||
workflows:
|
||||
version: 2
|
||||
build-releases:
|
||||
@@ -221,4 +222,4 @@ workflows:
|
||||
branches:
|
||||
only: master
|
||||
tags:
|
||||
only: /^v\d+\.\d+\.\d+$/
|
||||
only: /^v\d+\.\d+\.\d+(-alpha\.\d+)?$/
|
||||
|
||||
Reference in New Issue
Block a user