Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-otel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
LAST_COMMIT="$(git -C ./opentelemetry-collector/ rev-parse HEAD)"
cd opentelemetry-collector-contrib
# Extract current collector version tag from go.mod
CURRENT_VERSION="$(grep 'go.opentelemetry.io/collector v' cmd/otelcontribcol/go.mod | sed -E 's/.*(v[0-9]+\.[0-9]+\.[0-9]+).*/\1/' | head -1)"
git config user.name otelbot
git config user.email 197425009+otelbot@users.noreply.github.com
branch="otelbot/update-otel-$(date +%s)"
git checkout -b "$branch"
make genotelcontribcol
CURRENT_VERSION="$(grep 'go.opentelemetry.io/collector v' cmd/otelcontribcol/go.mod | sed -E 's/.*(v[0-9]+\.[0-9]+\.[0-9]+).*/\1/' | head -1)"
{
echo "CURRENT_VERSION=$CURRENT_VERSION"
echo "LAST_COMMIT=$LAST_COMMIT"
Expand Down
Loading