Skip to content

Commit

Permalink
Merge pull request #4 from estivensh/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
estivensh authored Aug 20, 2024
2 parents e817b44 + 0c2bd36 commit 7c11296
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions kaptureX/version.properties
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

0 comments on commit 7c11296

Please sign in to comment.