Skip to content

A command line tool that fetches released iOS and tvOS apps from the iTunes Search API and publishes in a Slack channel (if not published yet).

License

Notifications You must be signed in to change notification settings

diogot/ReleaseCheck

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReleaseCheck

A command line tool that fetches released iOS and tvOS apps from the iTunes Search API and publishes in a Slack channel (if not published yet).

Usage

Requirements

App Apple ID

Apple id of the released app, it's the number in the App Store url of the app, for example in https://apps.apple.com/us/app/nebula/id1447033725, the Apple Id is 1447033725.

Platform

This tool current supports iOS and tvOS releases.

Slack bot token

You need a Slack API bot that have the Bot Token Scopes:

Slack channel name

A public existent channel where the bot has already joined

Run

swift run recheck -a <app id> -p ios -t <slack bot token> -c <slack channel name>

GitHub Action

This repository also provides a GitHub Action. This action requires a macOS host. Here is a sample workflow that offers a manual trigger and automatically checks hourly:

name: 'Publish Released to Slack'

on:
  schedule:
    - cron: '42 * * * *' # every hour at 42 minutes
  workflow_dispatch:

jobs:
  recheck:
    name: 'Release Check'
    runs-on: [macos-latest]

    steps:
      - name: ReleaseCheck
        uses: diogot/[email protected] # Check the latest release available
        with:
          apple-id: ${{ vars.APPLE_ID }}
          platforms: 'iOS tvOS'
          slack-channel: ${{ vars.SLACK_CHANNEL }}
          slack-bot-token: ${{ secrets.SLACK_TOKEN }}
          verbose: true

About

A command line tool that fetches released iOS and tvOS apps from the iTunes Search API and publishes in a Slack channel (if not published yet).

Topics

Resources

License

Stars

Watchers

Forks

Languages