diff --git a/.github/workflows/deploy-release.yaml b/.github/workflows/deploy-release.yaml index eb8f12ca..d143ab1e 100644 --- a/.github/workflows/deploy-release.yaml +++ b/.github/workflows/deploy-release.yaml @@ -7,6 +7,9 @@ on: tags: - 'release/v*' +permissions: + packages: write + jobs: deployment: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-snapshot.yaml b/.github/workflows/deploy-snapshot.yaml index 3cf474bf..08786e5d 100644 --- a/.github/workflows/deploy-snapshot.yaml +++ b/.github/workflows/deploy-snapshot.yaml @@ -7,6 +7,9 @@ on: branches: - main +permissions: + packages: write + jobs: deployment: runs-on: ubuntu-latest diff --git a/buildSrc/src/main/kotlin/org/eclipse/kuksa/version/SemanticVersion.kt b/buildSrc/src/main/kotlin/org/eclipse/kuksa/version/SemanticVersion.kt index 7aa0b0a6..6f50845d 100644 --- a/buildSrc/src/main/kotlin/org/eclipse/kuksa/version/SemanticVersion.kt +++ b/buildSrc/src/main/kotlin/org/eclipse/kuksa/version/SemanticVersion.kt @@ -14,7 +14,6 @@ * limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.eclipse.kuksa.version @@ -58,6 +57,6 @@ class SemanticVersion(semanticVersion: String) { patch = versions[2].toInt() this.suffix = suffix - print("New SemanticVersion($versionString)") + print("Current SemanticVersion($versionString)\n") } }