Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
FIxed incorrect min unity version for package
Browse files Browse the repository at this point in the history
* Replaced 2022.3.14f1 with 2021.3.14f1
* Bumped version to 0.1.1

Fix for tag creation

* Attempting fix for tag creation from GitVersion.yml by also tagging the current branch
* Commented out next version in GitVersion.yml
  • Loading branch information
jzapdot committed Dec 3, 2022
1 parent bf6437c commit 0642e31
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,20 @@ jobs:
branch: 'release/stable'
message: v${{ env.GitVersion_MajorMinorPatch }}

# Tag commit just made with new Unity package version and push it to remote
# Tag commit just made with new Unity package version and push it to remote for develop
- name: Create Tag
run: |
cd './package_source_release'
git config --global user.email "[email protected]"
git config --global user.name "Github Action Bot"
git tag -a "upm/v${{ env.GitVersion_MajorMinorPatch }}" -m "v${{ env.GitVersion_MajorMinorPatch }}"
git push origin --tags
# Tag commit just made with new Unity package version and push it to remote for release/stable
- name: Create Tag
run: |
cd './package_source'
git config --global user.email "[email protected]"
git config --global user.name "Github Action Bot"
git tag -a "v${{ env.GitVersion_MajorMinorPatch }}" -m "v${{ env.GitVersion_MajorMinorPatch }}"
git push origin --tags
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mode: MainLine
next-version: 0.1.0
#next-version: 0.1.0
increment: Patch
tag-prefix: '^upm[/]v'
assembly-versioning-scheme: MajorMinorPatch
Expand Down
8 changes: 4 additions & 4 deletions Unity/Assets/JCMG/Slate/Scripts/Editor/VersionConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ public static class VersionConstants
/// <summary>
/// The semantic version
/// </summary>
public const string VERSION = "0.1.0";
public const string VERSION = "0.1.1";

/// <summary>
/// The branch of GIT this package was published from.
/// </summary>
public const string GIT_BRANCH = "master";
public const string GIT_BRANCH = "develop";

/// <summary>
/// The current GIT commit hash this package was published on.
/// </summary>
public const string GIT_COMMIT = "448c152e2527c01c358f539cbf137ef018605336";
public const string GIT_COMMIT = "bf6437c2d8d60bc1188576ad66f214e8354b81e8";

/// <summary>
/// The UTC human-readable date this package was published at.
Expand All @@ -36,6 +36,6 @@ public static class VersionConstants
/// <summary>
/// The UTC time this package was published at.
/// </summary>
public const string PUBLISH_TIME = "12/03/2022 16:20:23";
public const string PUBLISH_TIME = "12/03/2022 20:54:33";
}
}
4 changes: 2 additions & 2 deletions Unity/Assets/PackageManifests/PackageManifestConfig.asset
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ MonoBehaviour:
legacyPackageDestinationPath:
packageName: com.jeffcampbellmakesgames.slate
displayName: JCMG Slate
packageVersion: 0.1.0
unityVersion: 2022.3.14f1
packageVersion: 0.1.1
unityVersion: 2021.3.14f1
description: A UI composition library for Unity
category: UI
author:
Expand Down

0 comments on commit 0642e31

Please sign in to comment.