Skip to content

Commit

Permalink
Disbale changelog output
Browse files Browse the repository at this point in the history
  • Loading branch information
philnewm committed Sep 10, 2024
1 parent 05ebaa2 commit ae64c19
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@ runs:
increment=$(python -c 'import github_query; pr_labels = github_query.get_labels(github_query.parse_args()); patch_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="PATCH_BUMP_LABEL"); minor_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="MINOR_BUMP_LABEL"); print(github_query.get_version_increment(patch_bump_list=patch_repo_var, minor_bump_list=minor_repo_var, pr_label_list=pr_labels))' "${{ inputs.repo }}" "${{ inputs.query_parameters }}" "${{ inputs.date }}")
echo "increment=$increment" >> $GITHUB_OUTPUT
- name: Prepare Changelog
id: write-changelog
shell: bash
run: |
cd $GITHUB_ACTION_PATH
changelog=$(python -c 'import github_query; gh_query = github_query.parse_args(); patch_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="PATCH_BUMP_LABEL"); minor_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="MINOR_BUMP_LABEL"); print(github_query.prepare_changelog_markdown(pr_query=gh_query, minor_bump_list=minor_repo_var, patch_bump_list=patch_repo_var))' "${{ inputs.repo }}" "${{ inputs.query_parameters }}" "${{ inputs.date }}")
oneline_changelog=$(echo "$changelog" | base64 | tr -d '/n')
echo "oneline changelog: $oneline_changelog"
# echo "changelog=$oneline_changelog" >> $GITHUB_OUTPUT
# disabled until fixed
# - name: Prepare Changelog
# id: write-changelog
# shell: bash
# run: |
# cd $GITHUB_ACTION_PATH
# changelog=$(python -c 'import github_query; gh_query = github_query.parse_args(); patch_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="PATCH_BUMP_LABEL"); minor_repo_var = github_query.get_repo_var(repo="${{ inputs.repo }}", var_name="MINOR_BUMP_LABEL"); print(github_query.prepare_changelog_markdown(pr_query=gh_query, minor_bump_list=minor_repo_var, patch_bump_list=patch_repo_var))' "${{ inputs.repo }}" "${{ inputs.query_parameters }}" "${{ inputs.date }}")
# oneline_changelog=$(echo "$changelog" | base64 | tr -d '/n')
# echo "oneline changelog: $oneline_changelog"
# # echo "changelog=$oneline_changelog" >> $GITHUB_OUTPUT

...

0 comments on commit ae64c19

Please sign in to comment.