diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8c8314f40..7ede8d05a1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -89,14 +89,9 @@ jobs: - name: Format Release Notes run: | FORMATTED_MESSAGE="$(echo "${{ inputs.release-notes }}" | sed 's/ /\n/g')" - - # - name: Get Version Codes - # env: - # PRODUCT: ${{ inputs.product }} - # run: | - # bundle exec fastlane getVersionCodes - - # - name: Confirm Release Details + echo "RELEASE_NOTES<> $GITHUB_ENV + echo "$FORMATTED_MESSAGE" >> $GITHUB_ENV + echo "EOF" >> $GITHUB_ENV - name: Promote Play Store version to production env: @@ -105,7 +100,6 @@ jobs: VERSION_CODE: ${{ inputs.version-code }} ROLLOUT_PERCENTAGE: ${{ inputs.rollout-percentage }} PRODUCT: ${{ inputs.product }} - RELEASE_NOTES: FORMATTED_MESSAGE run: | if [ "$PRODUCT" = "Password Manager" ]; then PACKAGE_NAME="com.x8bit.bitwarden" @@ -116,8 +110,6 @@ jobs: exit 1 fi - Release_notes="$RELEASE_NOTES" - bundle exec fastlane updateReleaseNotes \ releaseNotes:"$RELEASE_NOTES" \ versionCode:"$VERSION_CODE"