{"id":13908011,"url":"https://github.com/JohnSundell/Releases","last_synced_at":"2025-07-18T06:32:21.166Z","repository":{"id":51304381,"uuid":"87952392","full_name":"JohnSundell/Releases","owner":"JohnSundell","description":"A Swift package for resolving released versions from a Git repository","archived":false,"fork":false,"pushed_at":"2022-11-01T11:31:23.000Z","size":29,"stargazers_count":51,"open_issues_count":4,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-13T15:05:03.874Z","etag":null,"topics":["package","releases","swift","swift-package","versioning","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnSundell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-11T15:48:09.000Z","updated_at":"2023-07-16T11:20:31.000Z","dependencies_parsed_at":"2022-09-01T22:41:10.231Z","dependency_job_id":null,"html_url":"https://github.com/JohnSundell/Releases","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSundell%2FReleases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSundell%2FReleases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSundell%2FReleases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSundell%2FReleases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnSundell","download_url":"https://codeload.github.com/JohnSundell/Releases/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226361634,"owners_count":17612933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package","releases","swift","swift-package","versioning","xcode"],"created_at":"2024-08-06T23:02:24.332Z","updated_at":"2024-11-25T16:31:19.672Z","avatar_url":"https://github.com/JohnSundell.png","language":"Swift","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# 🚢 Releases\n\nUsing **Releases** you can easily resolve all released versions from a Git repository, in either a Swift script\nor command line tool. It supports both remote \u0026 local repositories and provides convenience APIs for sorting,\nfiltering out pre-released versions, etc.\n\n## Usage\n\nSimply call `Releases.versions(for: url)` and you'll get an array of `Version` back:\n\n```swift\nlet url = URL(string: \"https://github.com/johnsundell/unbox\")!\nlet releases = Releases.versions(for: url)\n\n// Print the latest version\nprint(releases.last)\n```\n\nRemove all pre-release versions (like `Alpha`, `Beta`, etc):\n\n```swift\nlet url = URL(string: \"https://github.com/johnsundell/unbox)!\nlet releases = Releases.versions(for: url).withoutPreReleases()\n\n// Print the latest stable version\nprint(releases.last)\n```\n\n## Installation\n\n- Add `.package(url: \"https://github.com/JohnSundell/Releases.git\", from: \"5.0.0\")` to your `Package.swift` file's `dependencies`.\n- Update your packages using `$ swift package update`.\n\n## Help, feedback or suggestions?\n\n- [Open a PR](https://github.com/JohnSundell/Releases/pull/new/master) if you want to make some change to Releases.\n- Contact [@johnsundell on Twitter](https://twitter.com/johnsundell) for discussions, news \u0026 announcements about Releases \u0026 other projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJohnSundell%2FReleases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJohnSundell%2FReleases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJohnSundell%2FReleases/lists"}