Skip to content

Commit

Permalink
Merge pull request #2 from p2-inc/p2-release
Browse files Browse the repository at this point in the history
prepare for p2 release
  • Loading branch information
xgp authored Jun 25, 2024
2 parents 66fb9a0 + 5ce28fa commit 234a41b
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 154 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/dependabot-auto-merge.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/pr.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/release.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: release version

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- uses: actions/checkout@v3

- name: Release
uses: qcastel/github-actions-maven-release@master
with:
release-branch-name: "main"
version-minor: true

git-release-bot-name: "phasetwo-bot"
git-release-bot-email: "[email protected]"

maven-args: "-B -DskipITs -Dmaven.deploy.skip=true"

ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

gpg-enabled: true
gpg-key-id: BC6B4EADEB514AFD
gpg-key: ${{ secrets.GPG_KEY }}

docker-registry-id: ossrh
docker-registry-username: ${{ secrets.OSSRH_USERNAME }}
docker-registry-password: ${{ secrets.OSSRH_PASSWORD }}

maven-development-version-number: ${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}-SNAPSHOT
maven-release-version-number: ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}
23 changes: 14 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.kokuwa.keycloak</groupId>
<artifactId>keycloak-event-metrics</artifactId>
<version>1.0.1-SNAPSHOT</version>
<groupId>io.phasetwo.keycloak</groupId>
<artifactId>keycloak-event-metrics</artifactId>
<version>0.1-SNAPSHOT</version>
<parent>
<groupId>com.github.xgp</groupId>
<artifactId>oss-parent</artifactId>
<version>0.7</version>
</parent>

<name>Keycloak Metrics</name>
<description>Provides metrics for Keycloak user/admin events</description>
<url>https://github.com/kokuwaio/keycloak-event-metrics</url>
<url>https://github.com/p2-inc/keycloak-event-metrics</url>
<inceptionYear>2023</inceptionYear>
<organization>
<name>Kokuwa.io</name>
Expand All @@ -35,18 +40,18 @@
</developers>

<scm>
<url>https://github.com/kokuwaio/keycloak-event-metrics</url>
<connection>scm:git:https://github.com/kokuwaio/keycloak-event-metrics.git</connection>
<developerConnection>scm:git:https://github.com/kokuwaio/keycloak-event-metrics.git</developerConnection>
<url>https://github.com/p2-inc/keycloak-event-metrics</url>
<connection>scm:git:https://github.com/p2-inc/keycloak-event-metrics.git</connection>
<developerConnection>scm:git:https://github.com/p2-inc/keycloak-event-metrics.git</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>github</system>
<url>https://github.com/kokuwaio/keycloak-event-metrics/issues</url>
<url>https://github.com/p2-inc/keycloak-event-metrics/issues</url>
</issueManagement>
<ciManagement>
<system>github</system>
<url>https://github.com/kokuwaio/keycloak-event-metrics/actions</url>
<url>https://github.com/p2-inc/keycloak-event-metrics/actions</url>
</ciManagement>

<properties>
Expand Down

0 comments on commit 234a41b

Please sign in to comment.