Skip to content

Commit

Permalink
[STAD-571] Fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Feb 26, 2024
1 parent 8280810 commit b622dfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/gradle_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
echo "githubUser=${{ github.actor }}" >> gradle.properties
echo "githubToken=${{ secrets.GITHUB_TOKEN }}" >> gradle.properties
# versionName is required to publish artifacts to Github Registry
- name: Set versionName
run: |
sed -i "s/cyfaceBackendVersion = \"0.0.0\"/cyfaceBackendVersion = \"${{ github.ref_name }}\"/g" build.gradle
- name: Publish with Gradle
run: ./gradlew publishAll

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {

ext {
// This libraries version
cyfaceBackendVersion = "6.3.5"
cyfaceBackendVersion = "0.0.0"

// Cyface dependencies
cyfaceUtilsVersion = "3.5.1"
Expand Down

0 comments on commit b622dfa

Please sign in to comment.