lytics / ios-sdk

MIT License
0 stars 0 forks source link

Add Release Workflow #94

Closed mgacy closed 1 year ago

mgacy commented 1 year ago

This addresses #79 and adds a workflow to help automate releases. The expectation is that the final step before a new a release would be to create a PR for an update to the Version.swift file that is used to determine the SDK version number reported to the API.

This action would be invoked manually with a required input to specify release type (patch, minor, or major):

sc_2023125_114520_788

The workflow will then:

An example of the results of this workflow is visible here.

An alternative implementation could instead commit the change directly to main and use the new version number to tag the commit.