Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
irsdl committed Sep 18, 2023
1 parent fb65ed7 commit 4a6cf8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches:
- main
- early-adapter
- early-adopter
pull_request:
branches:
- main
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
PREFIX="main_"
else
PREFIX="early_adapter_"
PREFIX="early_adopter_"
fi
PREVIOUS_TAG=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/git/refs/tags \
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "RELEASE_TAG=main_${VERSION}_by_github" >> $GITHUB_ENV
else
echo "RELEASE_TAG=early_adapter_${VERSION}_by_github" >> $GITHUB_ENV
echo "RELEASE_TAG=early_adopter_${VERSION}_by_github" >> $GITHUB_ENV
fi
- name: Release
uses: irsdl/[email protected]
Expand Down

0 comments on commit 4a6cf8f

Please sign in to comment.