-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from estivensh/develop
Develop
- Loading branch information
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,30 @@ jobs: | |
version=$(./gradlew printVersion | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9]+)?') | ||
echo $version > version.txt | ||
- name: Upload version artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: version | ||
path: version.txt | ||
|
||
- name: GIT commit and push all changed files | ||
id: version | ||
env: | ||
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts | ||
CI_COMMIT_AUTHOR: Continuous Integration | ||
run: | | ||
version=$(cat version.txt) | ||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" | ||
git config --global user.email "[email protected]" | ||
git fetch origin | ||
git checkout ${{ github.head_ref }} | ||
git add . | ||
git commit -m "Changed project version to $version" | ||
git pull origin ${{ github.head_ref }} | ||
git push origin ${{ github.head_ref }} | ||
echo "VERSION_NUMBER=$version" >> $GITHUB_OUTPUT | ||
- name: Install GPG | ||
env: | ||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#Generated by the Semver Plugin for Gradle | ||
#Mon Aug 19 19:38:54 COT 2024 | ||
#Mon Aug 19 20:17:39 COT 2024 | ||
version.buildmeta= | ||
version.major=0 | ||
version.minor=2 | ||
version.patch=5 | ||
version.patch=6 | ||
version.prerelease=beta | ||
version.semver=0.2.5-beta | ||
version.semver=0.2.6-beta |