Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Jun 11, 2024
1 parent 598143d commit b5cc2d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 37 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,38 +34,12 @@ jobs:
run: mvn deploy
env:
GITHUB_TOKEN: ${{ github.token }} # GITHUB_TOKEN is the default env for the password

# - name: Configure git
# run: |
# git config --global user.name "${GITHUB_ACTOR}"
# git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
# - name: Prepare release
# run: mvn --batch-mode release:prepare
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Perform release
# run: mvn --batch-mode release:perform
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Set Version
# run: mvn versions:set -DnewVersion=${{ github.event.inputs.version }} -B
# - name: Install
# run: mvn install
# - name: Deploy
# run: mvn -s .github/workflows/m2/settings.xml deploy -DskipTests -B -X
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Figure out the project version from pom.xml
# run: |
# # Go back to the commit before the SNAPSHOT
# git reset --hard HEAD~1
# echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_ENV"
# - name: Create Release
# uses: actions/create-release@latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: apm-proto-${{ env.VERSION }}
# release_name: apm-proto ${{ env.VERSION }}
# tag_name: ${{ github.event.inputs.version }}
# release_name: apm-proto ${{ github.event.inputs.version }}
# draft: false
# prerelease: false
11 changes: 2 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>cloud.solarwindscloud</groupId>
<groupId>cloud.solarwinds</groupId>
<artifactId>apm-proto</artifactId>
<version>1.0.4-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -116,14 +115,8 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/solarwindscloud/apm-proto</url>
<url>https://maven.pkg.github.com/solarwinds/apm-proto</url>
</repository>
</distributionManagement>

<scm>
<connection>scm:git:https://github.com/solarwindscloud/apm-proto</connection>
<developerConnection>scm:git:https://github.com/solarwindscloud/apm-proto</developerConnection>
<tag>HEAD</tag>
</scm>

</project>

0 comments on commit b5cc2d6

Please sign in to comment.