Skip to content

Commit

Permalink
Create a new branch for the auto-update (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Sep 2, 2022
1 parent b679e6f commit 3058ea0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Auto-update CI workflow
GIT_AUTHOR_EMAIL: noreply+opentelemetry@grafana.com
GIT_AUTHOR_EMAIL: noreply+opentelemetry@grafana.com
GIT_COMMITTER_NAME: Auto-update CI workflow
GIT_COMMITTER_EMAIL: noreply+opentelemetry@grafana.com
3 changes: 3 additions & 0 deletions scripts/update-to-latest-otelcol.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ if [ $latest_core_version != $latest_contrib_version ]; then
fi
fi

# perhaps there are changes, let's switch to a specific branch
git checkout -b auto-update/core_${latest_core_version}_contrib_${latest_contrib_version} main

# at this point, we are ready to start replacing the versions on the manifests
manifests=$(find ${REPO_DIR} -name manifest.yaml)
for manifest in $manifests; do
Expand Down

0 comments on commit 3058ea0

Please sign in to comment.