From 23af043a5fb814dc268e4d27a2e4f18a0b1f24a8 Mon Sep 17 00:00:00 2001 From: Yevgeni Tsodikov Date: Wed, 18 Sep 2024 00:13:45 +0300 Subject: [PATCH] Add missing `GITHUB_TOKEN` (#13) --- .github/workflows/main_ci.yml | 7 ++----- pom.xml | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index ba10251..540ef2c 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -29,11 +29,6 @@ jobs: distribution: 'corretto' cache: maven - - name: Set Git user for release - run: | - git config --global user.email "github-actions@github.com" - git config --global user.name "GitHub Actions" - - name: Grant execute permission for Maven Wrapper run: chmod +x ./mvnw @@ -41,3 +36,5 @@ jobs: run: | echo "Releasing and bumping version..." ./mvnw release:prepare release:perform -Darguments=-DskipTests -B + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 4922c4a..bc52b11 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.appsflyer aws-sdk-java-opentelemetry-metrics - 1.0.1-SNAPSHOT + 1.0.0-SNAPSHOT AWS SDK Java OpenTelemetry Metrics OpenTelemetry Metric Publisher for AWS SDK for Java https://github.com/AppsFlyer/aws-sdk-java-opentelemetry-metrics @@ -20,8 +20,8 @@ https://github.com/AppsFlyer/aws-sdk-java-opentelemetry-metrics.git scm:git:https://github.com/AppsFlyer/aws-sdk-java-opentelemetry-metrics.git scm:git:https://github.com/AppsFlyer/aws-sdk-java-opentelemetry-metrics.git - HEAD - + HEAD + 1.8