Skip to content

Instantly share code, notes, and snippets.

View benshippee's full-sized avatar

Ben Shippee benshippee

View GitHub Profile
@benshippee
benshippee / BuildNumberIncrementer.cs
Created February 11, 2020 01:37
Unity build post process script to automatically bump iOS and Android version numbers
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
public class BuildNumberIncrementer
{
[PostProcessBuild]
public static void OnBuildComplete(BuildTarget buildTarget, string pathToBuiltProject)