Skip to content

Commit

Permalink
Merge 6741768 into 716e13b
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren authored Oct 15, 2022
2 parents 716e13b + 6741768 commit 0c631d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: ['build_windows_light', 'build_windows', 'build_mac', 'build_mac_light', 'build_linux', 'build_linux_light']
if: contains(github.event.head_commit.message, '[release]')
# if: contains(github.event.head_commit.message, '[release]')
steps:
- uses: actions/checkout@v1
- name: Download artifacts
Expand All @@ -109,11 +109,11 @@ jobs:
zip -rj selene-macos.zip ./artifacts/selene-macos/*
zip -rj selene-windows.zip ./artifacts/selene-windows/*
VERSION=`grep -Po '(?<=^version = ")([^"]+)' ./selene/Cargo.toml`
VERSION=`grep -Po '(?<=^version = ")([^"]+)' ./Cargo.toml`
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Get changelog
run: |
CHANGELOG_ENTRY=`grep --color=never -m 1 -Po '## \K(\[[0-9\.]+\].+)' CHANGELOG.md | sed -E 's/\(.+?\)//g`
CHANGELOG_ENTRY=`grep --color=never -m 1 -Po '## \K(\[[0-9\.]+\].+)' CHANGELOG.md | sed -E 's/\(.+?\)//g'`
DESCRIPTION=`bash ./misc/extract-changelog.sh $CHANGELOG_ENTRY`
echo "CHANGELOG_ENTRY=$CHANGELOG_ENTRY" >> $GITHUB_ENV
Expand Down

0 comments on commit 0c631d5

Please sign in to comment.