Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems like iOS version output is broken? #3

Open
backmeupplz opened this issue Feb 17, 2024 · 2 comments
Open

Seems like iOS version output is broken? #3

backmeupplz opened this issue Feb 17, 2024 · 2 comments
Labels

Comments

@backmeupplz
Copy link

Outputs a bunch of logs with the version name and code

@backmeupplz
Copy link
Author

btw, github action macos-13, here's the action:

name: Build and deploy iOS app
# on: workflow_dispatch
on:
  push:
    branches:
      - fastlane-ios
jobs:
  build-and-deploy-ios-app:
    runs-on: macos-13
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Set up node and cache yarn
        uses: actions/setup-node@v4
        with:
          node-version: 20.11.0
          cache: yarn
      - name: Set up ruby env
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.3.0
          bundler-cache: true
          working-directory: ios
      - name: Setup Cocoapods
        uses: maxim-lobanov/setup-cocoapods@v1
        with:
          podfile-path: ios/Podfile.lock
      - name: Bump version
        id: bump-version
        uses: ults-io/mobile-version-bump-action@v2
        with:
          ios-project-path: ios
          bump-type: patch
      - name: Install yarn dependencies
        uses: borales/actions-yarn@v4
        with:
          cmd: install
      - name: Install pods
        run: pod install
        working-directory: ios
      - name: Deploy to App Store
        uses: maierj/fastlane-action@v3.0.0
        with:
          lane: beta
          subdirectory: ios
      - name: Discord notification
        uses: discord-actions/message@v2
        with:
          webhookUrl: ${{ secrets.DISCORD_KEY }}
          message: 'iOS app has been deployed to the App Store (${{ steps.bump-version.outputs.ios-version }}, ${{ steps.bump-version.outputs.ios-build-number}})'

android works well

@qhartman
Copy link

qhartman commented Mar 8, 2024

I just noticed this today too. I'm testing changes for a PR right now. If you want to try early point your action at qhartman/mobile-version-bump-action@v2.1 . Hoping to submit a PR soon though if testing works out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants