Skip to content

Commit

Permalink
ci: replace set-output with env vars #42
Browse files Browse the repository at this point in the history
  • Loading branch information
cptchloroplast committed Apr 25, 2023
1 parent 00d11b6 commit ca61599
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
fetch-depth: 0
- name: Get commit message
run: |
echo ::set-output name=body::"$(git log -1 --pretty=format:%B)"
echo "body=$(git log -1 --pretty=format:%B)" >> "$GITHUB_OUTPUT"
id: commit-message
- name: Check if prerelease
run: |
[[ "$(git describe --abbrev=0)" =~ \- ]] && PRERELEASE="true" || PRERELEASE="false"
echo ::set-output name=prerelease::"$PRERELEASE"
echo "prerelease=$PRERELEASE" >> "$GITHUB_OUTPUT"
id: version
- name: Create release
uses: actions/create-release@latest
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- [#38](https://github.com/okkema/template/issues/38) Enforce branch name schema
- [#34](https://github.com/okkema/template/issues/34) Require prefix in PR title
- [#44](https://github.com/okkema/template/issues/44) Bump checkout to v3
- [#42](https://github.com/okkema/template/issues/42) Switch set-output for env vars

# 0.6.1
- [#31](https://github.com/okkema/template/issues/31) Push tags on version bump
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "template",
"version": "1.0.0-epic-1-v1.0",
"version": "1.0.0-epic-1-v1.1",
"description": "Okkema Labs Javascript Template",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ca61599

Please sign in to comment.