Skip to content

Commit

Permalink
misc: prepare for release v0.38.0-rc.0 (grafana#5794)
Browse files Browse the repository at this point in the history
(cherry picked from commit 950870a)
  • Loading branch information
rfratto committed Nov 16, 2023
1 parent 7e33d9c commit e667dee
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ internal API changes are not present.
Main (unreleased)
-----------------

v0.38.0-rc.0 (2023-11-16)
-------------------------

### Breaking changes

- Remove `otelcol.exporter.jaeger` component (@hainenber)
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Grafana Agent
description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector
weight: 350
cascade:
AGENT_RELEASE: v0.37.4
AGENT_RELEASE: v0.38.0-rc.0
OTEL_VERSION: v0.87.0
---

Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package operator

// Supported versions of the Grafana Agent.
var (
DefaultAgentVersion = "v0.37.4"
DefaultAgentVersion = "v0.38.0-rc.0"
DefaultAgentBaseImage = "grafana/agent"
DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion
)
Expand Down
2 changes: 1 addition & 1 deletion tools/gen-versioned-files/agent-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.37.4
v0.38.0-rc.0
4 changes: 2 additions & 2 deletions tools/gen-versioned-files/gen-versioned-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ if [ -z "$AGENT_VERSION" ]; then
exit 1
fi

versionMatcher='^v[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$'
versionMatcher='^v[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$'

if ! echo "$AGENT_VERSION" | grep -Eq "$versionMatcher"; then
echo "AGENT_VERSION env var is not in the correct format. It should be in the format of vX.Y.Z or vX.Y.Z-rcN"
echo "AGENT_VERSION env var is not in the correct format. It should be in the format of vX.Y.Z or vX.Y.Z-rc.N"
exit 1
fi

Expand Down

0 comments on commit e667dee

Please sign in to comment.