Skip to content

Commit

Permalink
Replace release artifcacts always
Browse files Browse the repository at this point in the history
  • Loading branch information
indigo423 committed May 8, 2020
1 parent c3cb7e8 commit a146dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
mkdir github-latest
cp kar/target/opennms-pris-plugin.kar github-latest/opennms-pris-plugin-$(cat version.txt).kar
if [[ "develop" == "${CIRCLE_BRANCH}" ]]; then
GHR_OPTS="-prerelease -replace"
GHR_OPTS="-prerelease"
fi
ghr ${GHR_OPTS} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} v$(cat version.txt) github-latest
ghr ${GHR_OPTS} -replace -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} v$(cat version.txt) github-latest
workflows:
commit:
jobs:
Expand Down

0 comments on commit a146dc5

Please sign in to comment.