File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 1010 main_clone :
1111 stage : Build & Test
1212 type : git-clone
13- repo : codefresh-io/pikolo
14- git : cf_github
13+ repo : ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
14+ git : github
1515 revision : ${{CF_REVISION}}
1616
1717 calculate_version :
@@ -39,12 +39,14 @@ steps:
3939
4040 create_git_tag :
4141 title : Push tag to git
42- image : codefresh/cli
42+ image : codefreshio/ci-helpers
4343 stage : Push & Release
4444 commands :
45+ - source /get-token/get-gh-token.sh
46+ - cf_export GITHUB_TOKEN
4547 - export OLD_ORIGIN=$(git remote get-url origin)
4648 - git remote rm origin
47- - git remote add origin https://${{ GITHUB_TOKEN}} @github.com/codefresh-io/pikolo .git
49+ - git remote add origin https://${GITHUB_TOKEN}@github.com/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}} .git
4850 - git tag v${{VERSION}}
4951 - git push --tags
5052 - git remote rm origin
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ builds:
55 - darwin
66 - linux
77 - windows
8- archive :
9- replacements :
10- darwin : Darwin
11- linux : Linux
12- windows : Windows
13- 386 : i386
14- amd64 : x86_64
15- format_overrides :
16- - goos : windows
17- format : zip
8+ archives :
9+ - replacements :
10+ darwin : Darwin
11+ linux : Linux
12+ windows : Windows
13+ 386 : i386
14+ amd64 : x86_64
15+ format_overrides :
16+ - goos : windows
17+ format : zip
1818checksum :
1919 name_template : ' checksums.txt'
2020snapshot :
You can’t perform that action at this time.
0 commit comments