-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
47 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 |
---|---|---|
|
@@ -111,24 +111,24 @@ jobs: | |
- name: Update version in clearinghouse's build.gradle.kts | ||
run: sed -i "s#version = \".*\"#version = \"${{ steps.bump_clearinghouse_version.outputs.new_clearinghouse_version }}\"#" lib/clearinghouse/build.gradle.kts | ||
|
||
- name: Release clearinghouse | ||
run: | | ||
./gradlew :lib:clearinghouse:build | ||
./gradlew :lib:clearinghouse:publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# - name: Commit and Push Changes | ||
# | ||
# - name: Release clearinghouse | ||
# run: | | ||
# ./gradlew :lib:clearinghouse:build | ||
# ./gradlew :lib:clearinghouse:publish | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump clearinghouse version to ${{ steps.bump_clearinghouse_version.outputs.new_clearinghouse_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
|
||
# - name: Commit and Push Changes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump clearinghouse version to ${{ steps.bump_clearinghouse_version.outputs.new_clearinghouse_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
|
||
|
||
- name: Create GitHub release | ||
|
@@ -183,23 +183,23 @@ jobs: | |
- name: Update version in crypt4gh's build.gradle.kts | ||
run: sed -i "s#version = \".*\"#version = \"${{ steps.bump_crypt4gh_version.outputs.new_crypt4gh_version }}\"#" lib/crypt4gh/build.gradle.kts | ||
|
||
- name: Release crypt4gh | ||
run: | | ||
./gradlew :lib:crypt4gh:build | ||
./gradlew :lib:crypt4gh:publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# | ||
# - name: Commit and Push Changes | ||
# - name: Release crypt4gh | ||
# run: | | ||
# ./gradlew :lib:crypt4gh:build | ||
# ./gradlew :lib:crypt4gh:publish | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump crypt4gh version to ${{ steps.bump_crypt4gh_version.outputs.new_crypt4gh_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
# | ||
# - name: Commit and Push Changes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump crypt4gh version to ${{ steps.bump_crypt4gh_version.outputs.new_crypt4gh_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
|
||
- name: Create GitHub release | ||
if: success() | ||
|
@@ -253,23 +253,23 @@ jobs: | |
- name: Update version in tsd-file-api-client's build.gradle.kts | ||
run: sed -i "s#version = \".*\"#version = \"${{ steps.bump_tsd-file-api-client_version.outputs.new_tsd-file-api-client_version }}\"#" lib/tsd-file-api-client/build.gradle.kts | ||
|
||
- name: Release tsd-file-api-client | ||
run: | | ||
./gradlew :lib:tsd-file-api-client:build | ||
./gradlew :lib:tsd-file-api-client:publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# - name: Commit and Push Changes | ||
# - name: Release tsd-file-api-client | ||
# run: | | ||
# ./gradlew :lib:tsd-file-api-client:build | ||
# ./gradlew :lib:tsd-file-api-client:publish | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump tsd-file-api-client version to ${{ steps.bump_tsd-file-api-client_version.outputs.new_tsd-file-api-client_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
|
||
# - name: Commit and Push Changes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# BRANCH_NAME=${{ github.ref_name }} | ||
# git config --global user.name 'GitHub Actions' | ||
# git config --global user.email '[email protected]' | ||
# git add -A | ||
# git commit -m "bump tsd-file-api-client version to ${{ steps.bump_tsd-file-api-client_version.outputs.new_tsd-file-api-client_version }}" | ||
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||
|
||
- name: Create GitHub release | ||
if: success() | ||
|
@@ -283,12 +283,14 @@ jobs: | |
|
||
push_versions: | ||
runs-on: ubuntu-latest | ||
needs: [publish-crypt4gh, publish-tsd-file-api-client, publish-clearinghouse, release_fega_norway] | ||
needs: [ publish-crypt4gh, publish-tsd-file-api-client, publish-clearinghouse, release_fega_norway ] | ||
steps: | ||
- name: Push versions | ||
run: | | ||
BRANCH_NAME=${{ github.ref_name }} | ||
git config --global user.name 'GitHub Actions' | ||
git config --global user.email '[email protected]' | ||
git add -A | ||
git commit -m "bump versions" | ||
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/ELIXIR-NO/FEGA-Norway.git HEAD:refs/heads/$BRANCH_NAME | ||