Skip to content

Commit

Permalink
add tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Jul 17, 2024
1 parent 892bb95 commit 9907735
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,16 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/[email protected]

- name: Create tag
id: tag
- name: Create tag clearinghouse
id: tag_clearinghouse
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch

- name: Get current tag
run: echo "CURRENT_TAG=${{ steps.tag.outputs.new_tag }}" >> $GITHUB_ENV
INITIAL_VERSION: 2.0.1

- name: Publish package clearinghouse
run: ./gradlew :lib:clearinghouse:publish -Pversion=${{ env.CURRENT_TAG }}
run: ./gradlew :lib:clearinghouse:publish -Pversion=${{ steps.tag_clearinghouse.outputs.new_tag }}
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions lib/clearinghouse/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
}

group = "no.elixir"
//version = "2.0.0"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion lib/crypt4gh/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "no.elixir"
version = "3.0.0-SNAPSHOT"
//version = "3.0.0-SNAPSHOT"

repositories {
mavenCentral()
Expand Down

0 comments on commit 9907735

Please sign in to comment.