Skip to content

Instantly share code, notes, and snippets.

@mackoj
Created April 28, 2022 08:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mackoj/b09dcfd141752613448d498c6ffcc801 to your computer and use it in GitHub Desktop.
Save mackoj/b09dcfd141752613448d498c6ffcc801 to your computer and use it in GitHub Desktop.
This script test if there is breakage in API
#!/usr/bin/env bash
# Get the last tag and test
swift package diagnose-api-breaking-changes $(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment