diff --git a/.github/workflows/generate-bundle.yml b/.github/workflows/generate-bundle.yml index b38b3e3..82b5f9f 100644 --- a/.github/workflows/generate-bundle.yml +++ b/.github/workflows/generate-bundle.yml @@ -36,21 +36,14 @@ jobs: --bundle-output dist/index.android.bundle \ --assets-dest dist/ - # Step 5: Create a valid tag - - name: Create Tag - id: create_tag - run: | - TAG_NAME="release-$(date +'%Y%m%d-%H%M%S')" - echo "tag_name=${TAG_NAME}" >> $GITHUB_ENV - - # Step 6: Upload the bundle to GitHub Releases - - name: Create GitHub Release + # Step 5: Upload the bundle to a static GitHub Release + - name: Create or Update GitHub Release uses: ncipollo/release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} artifacts: dist/index.android.bundle - tag: ${{ env.tag_name }} - releaseName: "JS Bundle - ${{ env.tag_name }}" - body: "This release contains the latest JavaScript bundle." + tag: static-release + releaseName: "Static JS Bundle Release" + body: "This release contains the latest JavaScript bundle for React Native." draft: false - prerelease: true + prerelease: false