Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
fix: try releaserc exec in GH_Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fforootd committed Dec 30, 2019
1 parent 42d3c27 commit 83398fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v2
- name: Echo next version
run: echo CAOS_NEXT_VERSION
- name: Docker Login
run: docker login $REGISTRY -u ${GITHUB_ACTOR} -p ${GITHUB_TOKEN}
- name: Docker Tag Release
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
"@semantic-release/release-notes-generator",
"@semantic-release/github",
["@semantic-release/exec", {
"prepareCmd": "echo ${nextRelease.version}"
"prepareCmd": "echo '::set-env name=CAOS_NEXT_VERSION::${nextRelease.version}'"
}],
]
};

0 comments on commit 83398fe

Please sign in to comment.