Skip to content

Commit

Permalink
Merge pull request #9 from doyensec/dev
Browse files Browse the repository at this point in the history
Make a #minor release
  • Loading branch information
execveat authored Jan 22, 2023
2 parents 165baed + c7969e1 commit 2cf8813
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/QA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install 'runme'
uses: ./.github/actions/install-runme
with:
version: 0.3.0

- name: Test Jython
run: runme jython.test
#
# - name: Install 'runme'
# uses: ./.github/actions/install-runme
# with:
# version: 0.3.0
#
# - name: Test Jython
# run: runme jython.test

lint:
name: "Extended build with linting and coverage"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ jobs:
run: |
echo "The pull request title is '$PULL_REQUEST_TITLE'"
RELEASE_TYPE=$(echo "$PULL_REQUEST_TITLE" | egrep -io '(?#)(major|minor)' || echo 'patch')
MESSAGE_TAG=$(echo "$PULL_REQUEST_TITLE" | egrep -io '#(major|minor)' || echo '#patch')
RELEASE_TYPE=$(echo "$MESSAGE_TAG | tr -d '#')
echo "About to create new '$RELEASE_TYPE' release"
runme release $RELEASE_TYPE
Expand Down
5 changes: 2 additions & 3 deletions Runmefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@ coverage.update_badge() {
# Be cautious, as the file created above could have been the same, so there are no changes and git will cause an error.
git diff-index --cached --quiet HEAD || git commit -m 'Update coverage stats for the badge'

if ! git push origin; then
err "THERE WAS AN ERROR RUNNING push origin, FALL BACK TO gh"
fi
git push origin

popd
if [[ ! $argc_path ]]; then
Expand Down Expand Up @@ -286,6 +284,7 @@ bump_version() {
;;
*)
err "Couldn't increment version, because '$mode' is unexpected (valid values are: 'major', 'minor' or 'patch')."
exit 1
;;
esac

Expand Down

0 comments on commit 2cf8813

Please sign in to comment.