Skip to content

Commit

Permalink
Test move project version
Browse files Browse the repository at this point in the history
COAND-1013
  • Loading branch information
araratthehero committed Oct 23, 2024
1 parent 35e0439 commit 7b3f1b7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Get the version name from a script and save to environment variable.
- name: Set PROJECT_VERSION
run: |
echo "▸ Set run permission."
chmod +x scripts/version_name.sh
echo "▸ Getting version name"
PROJECT_VERSION=$(./scripts/version_name.sh)
echo "▸ Variable PROJECT_VERSION set to: ${PROJECT_VERSION}"
echo "▸ Adding PROJECT_VERSION variable with: $PROJECT_VERSION"
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
echo "▸ DONE"
- name: Gradle check
run: ./gradlew check

Expand All @@ -49,18 +61,6 @@ jobs:
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}

# Get the version name from a script and save to environment variable.
- name: Set PROJECT_VERSION
run: |
echo "▸ Set run permission."
chmod +x scripts/version_name.sh
echo "▸ Getting version name"
PROJECT_VERSION=$(./scripts/version_name.sh)
echo "▸ Variable PROJECT_VERSION set to: ${PROJECT_VERSION}"
echo "▸ Adding PROJECT_VERSION variable with: $PROJECT_VERSION"
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
echo "▸ DONE"
# Create the Release TAG and notes.
- name: Create GitHub Release
uses: actions/create-release@v1
Expand Down

0 comments on commit 7b3f1b7

Please sign in to comment.