Skip to content

Commit

Permalink
Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcsakany committed Jan 14, 2021
1 parent 6c2736d commit ed719db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ build:
- script:
name: get github release attributes
code: |-
export GITHUB_RELEASE_BODY=$(cat ./target/classes/.releasetemplate | jq -aRs .)
export GITHUB_RELEASE_TITLE=$(echo "$VERSION_NUMBER" | jq -aRs .)
export GITHUB_RELEASE_BODY=$(cat ./target/classes/.releasetemplate | jq -aRs . | sed 's/"//g')
export GITHUB_RELEASE_TITLE=$(echo "$VERSION_NUMBER" | jq -aRs . | sed 's/"//g')
echo "Release title: $GITHUB_RELEASE_TITLE"
echo "Release notes: $GITHUB_RELEASE_BODY"
- github-create-release:
token: $GITHUB_ACCESS_TOKEN
tag: $VERSION_NUMBER
# title: $GITHUB_RELEASE_TITLE
# body: $GITHUB_RELEASE_BODY
title: $GITHUB_RELEASE_TITLE
body: $GITHUB_RELEASE_BODY
prerepease: true

# after-steps:
Expand Down

0 comments on commit ed719db

Please sign in to comment.