diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f4769e8..90056253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- [#208](https://github.com/green-code-initiative/ecoCode/issues/208) Improve build process and release management +- [#208](https://github.com/green-code-initiative/ecoCode/issues/208) Improve build process and release management : the release process is now much simpler: just need to do a build on a tag checkout. And now, project use [Maven Wrapper](https://maven.apache.org/wrapper/). ### Deleted diff --git a/tool_release_1_prepare.sh b/tool_release_1_prepare.sh deleted file mode 100755 index 7b996e3c..00000000 --- a/tool_release_1_prepare.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env sh - -### -# PURPOSE : use maven plugin release to prepare locally next release and next SNAPSHOT -### - -# creation of 2 commits with release and next SNAPSHOT -./mvnw release:prepare -B -ff -DpushChanges=false -DtagNameFormat=@{project.version} - -sleep 2 - -# clean temporary files -./mvnw release:clean diff --git a/tool_release_2_branch.sh b/tool_release_2_branch.sh deleted file mode 100755 index ca2e8222..00000000 --- a/tool_release_2_branch.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env sh - -### -# PURPOSE : create an push an new branch with commits previously prepared with `tool_release_1_prepare.sh` -### - -# checkout released tag and creation of branch to push (becasue of main protection) -LAST_TAG=$(git tag --sort=-version:refname | head -n 1) -BRANCH_NAME=$(echo "release_${LAST_TAG}") -git checkout -b ${BRANCH_NAME} - -# push branch associated to new tag release -git push --set-upstream origin ${BRANCH_NAME}