All Projects → JohnSundell → Releases

JohnSundell / Releases

Licence: MIT license
A Swift package for resolving released versions from a Git repository

Programming Languages

swift
15916 projects
shell
77523 projects

Projects that are alternatives of or similar to Releases

golangflow
GolangFlow.io Website
Stars: ✭ 37 (-19.57%)
Mutual labels:  package, releases
tag
Git utility to create tags in order to identify specific releases
Stars: ✭ 24 (-47.83%)
Mutual labels:  versioning, releases
parse it
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
Stars: ✭ 86 (+86.96%)
Mutual labels:  package
flutter web import js library
Import & use javascript libraries in your flutter web projects
Stars: ✭ 28 (-39.13%)
Mutual labels:  package
pfSense-pkg-WireGuard
This is a port of the original WireGuard UI bits as implemented by Netgate in pfSense 2.5.0 to a package suitable for rapid iteration and more frequent updating on future releases of pfSense.
Stars: ✭ 194 (+321.74%)
Mutual labels:  package
fastlane-plugin-versioning android
Android Versioning Plugin for Fastlane
Stars: ✭ 113 (+145.65%)
Mutual labels:  versioning
Odapter
C# code generator for Oracle packages
Stars: ✭ 16 (-65.22%)
Mutual labels:  package
elm-generative
Making generative art in Elm
Stars: ✭ 23 (-50%)
Mutual labels:  package
Squot
Squeak Object Tracker - Version control for arbitrary objects, currently with Git storage
Stars: ✭ 45 (-2.17%)
Mutual labels:  versioning
terraform-module-versions
CLI tool that checks Terraform code for module updates. Single binary, no dependencies. linux, osx, windows. #golang #cli #terraform
Stars: ✭ 143 (+210.87%)
Mutual labels:  versioning
macpack
Makes a macOS binary redistributable by searching the dependency tree and copying/patching non-system libraries.
Stars: ✭ 20 (-56.52%)
Mutual labels:  package
packager
Laravel Package Skeleton Generator - https://youtu.be/kQRQWzDEbGk
Stars: ✭ 20 (-56.52%)
Mutual labels:  package
future.mapreduce
[EXPERIMENTAL] R package: future.mapreduce - Utility Functions for Future Map-Reduce API Packages
Stars: ✭ 12 (-73.91%)
Mutual labels:  package
laravel-repoman
Set a payment deadline for the customer
Stars: ✭ 14 (-69.57%)
Mutual labels:  package
flutter background
A flutter plugin to keep apps running in the background via foreground services. Currently Android only.
Stars: ✭ 58 (+26.09%)
Mutual labels:  package
java-rest-versioning
Reasoning about HTTP API versioning with examples
Stars: ✭ 12 (-73.91%)
Mutual labels:  versioning
emacs-hacker-typer
A customizable implementation of http://hackertyper.com in emacs.
Stars: ✭ 21 (-54.35%)
Mutual labels:  package
devliver
Your private self hosted composer repository with user management
Stars: ✭ 50 (+8.7%)
Mutual labels:  package
eerie
The package manager for Io.
Stars: ✭ 22 (-52.17%)
Mutual labels:  package
listenv
R package: Environments Behaving As Lists
Stars: ✭ 20 (-56.52%)
Mutual labels:  package

🚢 Releases

Using Releases you can easily resolve all released versions from a Git repository, in either a Swift script or command line tool. It supports both remote & local repositories and provides convenience APIs for sorting, filtering out pre-released versions, etc.

Usage

Simply call Releases.versions(for: url) and you'll get an array of Version back:

let url = URL(string: "https://github.com/johnsundell/unbox")!
let releases = Releases.versions(for: url)

// Print the latest version
print(releases.last)

Remove all pre-release versions (like Alpha, Beta, etc):

let url = URL(string: "https://github.com/johnsundell/unbox)!
let releases = Releases.versions(for: url).withoutPreReleases()

// Print the latest stable version
print(releases.last)

Installation

  • Add .package(url: "https://github.com/JohnSundell/Releases.git", from: "5.0.0") to your Package.swift file's dependencies.
  • Update your packages using $ swift package update.

Help, feedback or suggestions?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].