Skip to content

Commit

Permalink
Merge pull request #10 from GrantBirki/fixes-and-logging
Browse files Browse the repository at this point in the history
fixes and logging
  • Loading branch information
GrantBirki authored Dec 21, 2023
2 parents 280006b + b5d1c65 commit 766e915
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ runs:
fetch-depth: 0 # needed to checkout all branches

- name: git-diff-action
uses: GrantBirki/git-diff-action@3d5d323f899c22de8d95a9e05c4f71cc7f165404 # pin@v2.2.0
uses: GrantBirki/git-diff-action@b4b60819c4e5d05f420f600e6497cd7a4f96d53f # pin@v2.4.0
id: git-diff-action
with:
json_diff_file_output: ${{ inputs.json_diff_path }}
base_branch: HEAD^1 # compare the PR merge commit against its first parent
file_output_only: "true" # do not print any diff output to the console (safety first)
search_path: '.' # look in the entire repo for changes
max_buffer_size: "1000000" # the default git diff buffer size, increase if you have issues
max_buffer_size: "10000000" # the default git diff buffer size, increase if you have issues

- name: auditor-action
uses: GrantBirki/auditor-action-core@eb5403c2dcea95ba9b6760265f2c098735345136 # pin@v2.1.0
uses: GrantBirki/auditor-action-core@d20693663049b7fee4a0f6e2b3123643e2e8941e # pin@v2.2.0
env:
CONFIG_PATH: ${{ inputs.config }}
JSON_DIFF_PATH: ${{ inputs.json_diff_path }}
Expand Down
4 changes: 2 additions & 2 deletions script/release
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GREEN='\033[0;32m'
BLUE='\033[0;34m'

latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
echo -e "The latest release tag is:${BLUE}${latest_tag}${OFF}"
echo -e "The latest release tag is: ${BLUE}${latest_tag}${OFF}"
read -p 'New Release Tag (vX.X.X format): ' new_tag

tag_regex='^v\d\.\d\.\d$'
Expand All @@ -26,5 +26,5 @@ echo -e "${GREEN}OK${OFF} - Tagged: $new_tag"

git push --tags

echo -e "${GREEN}OK${OFF} - Tags pushed to remote! This will trigger a GitHub action release"
echo -e "${GREEN}OK${OFF} - Tags pushed to remote!"
echo -e "${GREEN}DONE${OFF}"

0 comments on commit 766e915

Please sign in to comment.