diff --git a/wercker.yml b/wercker.yml index da4c916..225ef13 100644 --- a/wercker.yml +++ b/wercker.yml @@ -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: