diff --git a/.github/workflows/release-automation.yaml b/.github/workflows/release-automation.yaml index 89e8a6c0..54db05f8 100644 --- a/.github/workflows/release-automation.yaml +++ b/.github/workflows/release-automation.yaml @@ -1,3 +1,18 @@ +## +# Copyright (C) 2024 Hedera Hashgraph, LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +## name: Release Automation on: diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 7ea83e2a..b6e8a62e 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -35,11 +35,7 @@ testModuleInfo { fun replaceVersion(files: String, match: String) { ant.withGroovyBuilder { - "replaceregexp"( - "match" to match, - "replace" to project.version, - "flags" to "gm" - ) { + "replaceregexp"("match" to match, "replace" to project.version, "flags" to "gm") { "fileset"( "dir" to rootProject.projectDir, "includes" to files, @@ -57,7 +53,6 @@ tasks.register("bumpVersion") { replaceVersion("gradle.properties", "(?<=^version=).+") } - // Docker related tasks var updateDockerEnv =