Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
palson-cf committed Dec 23, 2019
1 parent ba2627c commit 0cb8400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ steps:
image: codefresh/cli-build
commands:
- >-
curl --fail -X POST -d ''{"tag_name":"v${{PACKAGE_VERSION}}","target_commitish":"${{CF_REVISION}}","name":"Codefresh V${{PACKAGE_VERSION}}"}'' -H "Content-Type: application/json" -H "Authorization: token ${{GITHUB_TOKEN}}" "https://api.github.com/repos/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}/releases"
curl --fail -X POST -d "{\"tag_name\":\"v${{PACKAGE_VERSION}}\",\"target_commitish\":\"${{CF_REVISION}}\",\"name\":\"Codefresh V${{PACKAGE_VERSION}}\"}" -H "Content-Type: application/json" -H "Authorization: token ${{GITHUB_TOKEN}}" "https://api.github.com/repos/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}/releases"
when:
branch:
only: [ master ]
Expand Down

0 comments on commit 0cb8400

Please sign in to comment.