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

Commit 83398fe

Browse files
committed
fix: try releaserc exec in GH_Actions
1 parent 42d3c27 commit 83398fe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: Semantic Release
1919
id: semantic
2020
uses: cycjimmy/semantic-release-action@v2
21+
- name: Echo next version
22+
run: echo CAOS_NEXT_VERSION
2123
- name: Docker Login
2224
run: docker login $REGISTRY -u ${GITHUB_ACTOR} -p ${GITHUB_TOKEN}
2325
- name: Docker Tag Release

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
"@semantic-release/release-notes-generator",
66
"@semantic-release/github",
77
["@semantic-release/exec", {
8-
"prepareCmd": "echo ${nextRelease.version}"
8+
"prepareCmd": "echo '::set-env name=CAOS_NEXT_VERSION::${nextRelease.version}'"
99
}],
1010
]
1111
};

0 commit comments

Comments
 (0)