Skip to content

Commit

Permalink
remove again tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Jul 12, 2024
1 parent 6b66490 commit 1798988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create_rc_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
- name: Check for changes since last RC
id: check_for_changes
run: |
echo "CHANGES=$(inv -e release.check-for-changes -r ${{ env.RELEASE_BRANCH }} ${{ env.WARNING }})" >> $GITHUB_OUTPUT
echo "DD_CHANGES=$(inv -e release.check-for-changes -r ${{ env.RELEASE_BRANCH }} ${{ env.WARNING }})" >> $GITHUB_ENV
- name: Create RC PR
if: ${{ steps.check_for_changes.outputs.CHANGES == 'true'}}
if: ${{ env.DD_CHANGES == 'true' }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
7 changes: 0 additions & 7 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,13 +931,6 @@ def check_for_changes(ctx, release_branch, warning_mode=False):
with clone(ctx, repo_name, repo['branch'], options="--filter=blob:none --no-checkout"):
# We can add the new commit now to be used by release candidate creation
print(f"Should create new tag {next_version} on {repo_name}", file=sys.stderr)
ctx.run('git config --global user.name "github-actions[bot]"', hide=True)
ctx.run(
'git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"',
hide=True,
)
ctx.run(f"git tag {next_version}")
ctx.run(f"git push origin tag {next_version}")
# This repo has changes, the next check is not needed
continue
if repo_name != "datadog-agent" and last_tag_name != repo['previous_tag']:
Expand Down

0 comments on commit 1798988

Please sign in to comment.