Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
fix(uitest): reset build and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tillhainbach committed Mar 21, 2021
1 parent 4f3ef8f commit ce3d2dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build-Versioning-Scripts/publish-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
function header {
echo "\n$(tput bold)*** $1 ***$(tput sgr0)\n"
}
#set -e
set -x
set -e
#set -x
header "Uploading Release to Github"

PROJECT_NAME=$1
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ delete_release:
-git push --delete origin "v$(VERSION)"

uitest:
make clean
make set_version VERSION=0.1.0
make set_build_number BUILD_NUMBER=1
xcodebuild clean \
-project $(PROJECT_NAME).xcodeproj \
-scheme SwiftUISparkleTestApp \
Expand Down
2 changes: 2 additions & 0 deletions SwiftUISparkleTestApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
2B7BF10725F4E5FA0023FBEA /* SparkleAutoUpdater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SparkleAutoUpdater.swift; sourceTree = "<group>"; };
2BA7374625F91C7F006FB827 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
2BBBB18F25F97024002BE09B /* exportOptions.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = exportOptions.plist; sourceTree = "<group>"; };
2BEE55322607DE9D00900924 /* get_release_asset_url.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = get_release_asset_url.sh; sourceTree = "<group>"; };
2BF9B2CE2600FBD2008DF750 /* SwiftUISparkleTestAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftUISparkleTestAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
2BF9B2D02600FBD2008DF750 /* SwiftUISparkleTestAppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftUISparkleTestAppUITests.swift; sourceTree = "<group>"; };
2BF9B2D22600FBD2008DF750 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -180,6 +181,7 @@
isa = PBXGroup;
children = (
2B5A263725F9616700A4A528 /* add-prelease-label.sh */,
2BEE55322607DE9D00900924 /* get_release_asset_url.sh */,
2B5A263625F9616700A4A528 /* Increment_Build_Number.sh */,
2B5A263225F9616700A4A528 /* publish-app.sh */,
2B5A263525F9616700A4A528 /* release.sh */,
Expand Down

0 comments on commit ce3d2dc

Please sign in to comment.