Comments (5)
--userversion=USERVERSION
Looking forward to this. Came here to suggest this myself.
In the interim, should something like:
scriptArguments.Append(string.format("--userversion {0}", BuildConstants.version));
work when adding it to the UploadItch.cs
work?
Great asset by the way, many thanks.
from buildactions.
Actually that works quite well. I added it to line 65
scriptArguments.Append( string.Format( " --userversion {0}", BuildConstants.version ) );
from buildactions.
Added "--userversion" option in the latest commit.
from buildactions.
Also, I just want to note that it's best to not reference BuildConstants
at build-time. It's primarily intended for accessing that data in your game at run-time.
Unfortunately, I don't have a great interface at the moment for accessing that data at build-time, but most of it is accessible from the arguments passed into Execute
or PerBuildExecute
or by directly accessing BuildSettings
- the version string for instance can be found in BuildSettings.productParameters.lastGeneratedVersion
.
from buildactions.
Thanks for the clarification on that. I knew there must be a better way.
from buildactions.
Related Issues (20)
- Script Runner doesn't run PowerShell script HOT 1
- Add support for Android channel names
- UPM support HOT 1
- iOS utilities BuildAction HOT 1
- Add ability to change root folder.
- Upload to Steam Utility HOT 1
- Support for WebGL in UploadItch action HOT 1
- namespace 'BuildAction' could not be found HOT 5
- Problem with ZipFileOperation for large folders (+ possible solution) HOT 1
- Storing the Butler path separately from the rest of the config HOT 2
- Accessing version info in a Single Run action HOT 2
- How to build Dedicated Server? HOT 1
- Ambiguous reference with Ionic.Zip.ZipFile
- CS0173 on FileUtility line 42 : "no implicit conversion between 'method group' and 'method group'"
- Addressables do not work in build HOT 3
- Some way to know if a build failed in a post-build action
- UploadItch ships the BurstDebugInformation_DoNotShip
- PerBuildProjectSettings missing most options HOT 2
- SteamWorks support HOT 2
- Unit Test Utility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildactions.