-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable opbeans java release process (#33)
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
AGENT_VERSION="${1:?"Please set the java agent version"}" | ||
|
||
# Update agent dependencies | ||
cd opbeans | ||
./mvnw -B versions:use-dep-version -DdepVersion=${AGENT_VERSION} -Dincludes=co.elastic.apm:apm-agent-api | ||
|
||
# Commit changes | ||
git add pom.xml | ||
git commit -m "Bump version ${AGENT_VERSION}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,4 @@ hs_err_pid* | |
# For the BATS testing | ||
bats/ | ||
target/ | ||
pom.xml.versionsBackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters