-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87a9385
commit a41918f
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,19 +33,19 @@ jobs: | |
echo "Version: $VERSION" | ||
- name: Update version in bt_ifcmanager.rb | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
run: | | ||
sed -i "s/VERSION = '.*'/VERSION = '${{ steps.extract_version.outputs.version }}'/" src/bt_ifcmanager.rb | ||
- name: Commit changes | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git commit -m "Update version to ${{ steps.extract_version.outputs.version }}" -a | ||
- name: Push changes | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -56,7 +56,7 @@ jobs: | |
zip -r bt_ifcmanager-${{ steps.extract_version.outputs.version }}.rbz src/ | ||
- name: Generate release notes | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
id: generate_notes | ||
run: | | ||
VERSION=${{ steps.extract_version.outputs.version }} | ||
|
@@ -68,7 +68,7 @@ jobs: | |
echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV | ||
- name: Create Release | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
|
@@ -81,7 +81,7 @@ jobs: | |
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
if: env.is_valid == 'true' | ||
if: env.IS_VALID == 'true' | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
|