From b1e377a39553d91876c45e3933bfe5b152f02482 Mon Sep 17 00:00:00 2001 From: "galyna.klymenko" Date: Thu, 23 Nov 2023 12:06:04 +0200 Subject: [PATCH] Changed version, prepared release --- .github/workflows/github-release.yml | 4 ++-- .github/workflows/release-publish.yml | 3 +++ pom.xml | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 56d7bbe..747dc01 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -1,4 +1,4 @@ -name: Create a GitHub Release, with release details specified +name: Create a GitHub Release with release details specified on: push: @@ -13,4 +13,4 @@ jobs: - uses: marvinpinto/action-automatic-releases@latest with: repo_token: ${{ secrets.GITHUB_TOKEN }} - prerelease: false + prerelease: false \ No newline at end of file diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index d66d650..6287390 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -1,6 +1,9 @@ name: Publish package to the Maven Central Repository on: + push: + tags: + - v* pull_request: branches: [ main ] diff --git a/pom.xml b/pom.xml index 9f53e6a..7dc97c7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,8 @@ 4.0.0 com.extrawest - extrawest-ocpi-2.2.1-cpo-server - 2023.11.21-SNAPSHOT + Extrawest-OCPI-2.2.1-CPO-Server + 2023.11.21 Extrawest-OCPI-2.2.1-CPO-Server Extrawest-OCPI-2.2.1-CPO-Server