Skip to content

Commit

Permalink
Merge pull request #200 from davseve/internal/ED-11261-one-click-clou…
Browse files Browse the repository at this point in the history
…d-release

Added ONE_CLICK_RELEASE_PACKAGE_VERSION env var
  • Loading branch information
davseve authored Aug 7, 2023
2 parents 000a818 + 84157f0 commit b3aff1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/bump-channel-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ runs:
# This condition is for one click cloud prerelease execution testing manners.
# This condition should be removed once the one click prerelease execution gets to production.
if [[ "${{ inputs.POSTFIX }}" == "-test" ]]; then
echo "PACKAGE_VERSION=${ELEMENTOR_CHANNEL_PACKAGE_VERSION}${{ inputs.POSTFIX }}" >> $GITHUB_ENV
fi
# if [[ "${{ inputs.CHANNEL }}" == "cloud" ]]; then
# echo "PACKAGE_VERSION=${ELEMENTOR_CHANNEL_PACKAGE_VERSION}${{ inputs.POSTFIX }}" >> $GITHUB_ENV
# fi
echo ONE_CLICK_RELEASE_PACKAGE_VERSION=${ELEMENTOR_CHANNEL_PACKAGE_VERSION}${{ inputs.POSTFIX }} >> $GITHUB_ENV
if [[ ${{ inputs.CHANNEL }} == "beta" ]]; then
BETA_VERSION=${{ inputs.CLEAN_PACKAGE_VERSION }}-${{ inputs.CHANNEL }}${NEW_CHANNEL_VERSION}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/one-click-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ jobs:
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.PACKAGE_VERSION }}
#tag_name: ${{ env.PACKAGE_VERSION }}
tag_name: ${{ env.ONE_CLICK_RELEASE_PACKAGE_VERSION }}
target_commitish: ${{ env.CLEAN_REF }}
files: |
elementor-*.zip
Expand Down

0 comments on commit b3aff1d

Please sign in to comment.