Browse code
Releases should work?
Ed Langley authored on 04/11/2018 07:19:19
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -1,12 +1,5 @@ |
1 | 1 |
version: 2 |
2 | 2 |
jobs: |
3 |
- foo: |
|
4 |
- docker: |
|
5 |
- - image: debian:stretch |
|
6 |
- steps: |
|
7 |
- - run: |
|
8 |
- name: hi there |
|
9 |
- command: env |
|
10 | 3 |
publish-github-release: |
11 | 4 |
docker: |
12 | 5 |
- image: cibuilds/github:0.10 |
... | ... |
@@ -16,8 +9,7 @@ jobs: |
16 | 9 |
- run: |
17 | 10 |
name: "Publish Release on GitHub" |
18 | 11 |
command: | |
19 |
- VERSION= |
|
20 |
- env |
|
12 |
+ VERSION=${CIRCLE_TAG} |
|
21 | 13 |
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ |
22 | 14 |
|
23 | 15 |
build: |
... | ... |
@@ -45,22 +37,6 @@ workflows: |
45 | 37 |
main: |
46 | 38 |
jobs: |
47 | 39 |
- build |
48 |
- tmp: |
|
49 |
- jobs: |
|
50 |
- - build: |
|
51 |
- filters: |
|
52 |
- branches: |
|
53 |
- ignore: /.*/ |
|
54 |
- tags: |
|
55 |
- only: /^testing-\d+$/ |
|
56 |
- - foo: |
|
57 |
- requires: |
|
58 |
- - build |
|
59 |
- filters: |
|
60 |
- branches: |
|
61 |
- ignore: /.*/ |
|
62 |
- tags: |
|
63 |
- only: /^testing-\d+$/ |
|
64 | 40 |
release: |
65 | 41 |
jobs: |
66 | 42 |
- build: |