Skip to content

Commit

Permalink
Rename script
Browse files Browse the repository at this point in the history
  • Loading branch information
praveek committed Dec 1, 2023
1 parent bee1ff2 commit 6d86a3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Verify versions
- name: Verify version
run: |
set -eo pipefail
echo Release version: ${{ github.event.inputs.tag }}
(./scripts/versions.sh -n ${{ github.event.inputs.extension }} -v ${{ github.event.inputs.tag }})
(./scripts/version.sh -n ${{ github.event.inputs.extension }} -v ${{ github.event.inputs.tag }})
- name: Create GH Release
id: create_release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ jobs:

- if: ${{ github.event.inputs.core-version != '' }}
name: Update Core Version
run: (sh ./scripts/versions.sh -u -n Core -v ${{ github.event.inputs.core-version }})
run: (sh ./scripts/version.sh -u -n Core -v ${{ github.event.inputs.core-version }})

- if: ${{ github.event.inputs.identity-version != '' }}
name: Update Identity Version
run: (sh ./scripts/versions.sh -u -n Identity -v ${{ github.event.inputs.identity-version }})
run: (sh ./scripts/version.sh -u -n Identity -v ${{ github.event.inputs.identity-version }})

- if: ${{ github.event.inputs.lifecycle-version != '' }}
name: Update Lifecycle Version
run: (sh ./scripts/versions.sh -u -n Lifecycle -v ${{ github.event.inputs.lifecycle-version }})
run: (sh ./scripts/version.sh -u -n Lifecycle -v ${{ github.event.inputs.lifecycle-version }})

- if: ${{ github.event.inputs.signal-version != '' }}
name: Update Signal Version
run: (sh ./scripts/versions.sh -u -n Signal -v ${{ github.event.inputs.signal-version }})
run: (sh ./scripts/version.sh -u -n Signal -v ${{ github.event.inputs.signal-version }})

- name: Generate Commit Message
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion scripts/versions.sh → scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Make this script executable from terminal:
# chmod 755 update-versions.sh
# chmod 755 version.sh
set -e # Any subsequent(*) commands which fail will cause the shell script to exit immediately

ROOT_DIR=$(git rev-parse --show-toplevel)
Expand Down

0 comments on commit 6d86a3d

Please sign in to comment.