mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
Automatic deploy 28994244
This commit is contained in:
parent
dfab41c0f4
commit
92fd530115
3 changed files with 6 additions and 5 deletions
|
@ -15,8 +15,8 @@ android {
|
|||
applicationId = "me.lecaro.breakout"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 28994243
|
||||
versionName = "28994243"
|
||||
versionCode = 28994244
|
||||
versionName = "28994244"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Breakout 𝟕𝟏</title>
|
||||
<link rel="stylesheet" href="style.css?v=28994243" />
|
||||
<link rel="stylesheet" href="style.css?v=28994244" />
|
||||
<link rel="icon" href="./icon.svg" />
|
||||
</head>
|
||||
<body>
|
||||
<button id="menu">☰<span> menu</span></button>
|
||||
<button id="score"></button>
|
||||
<canvas id="game"></canvas>
|
||||
<script src="levels.js?v=28994243"></script>
|
||||
<script src="game.js?v=28994243"></script>
|
||||
<script src="levels.js?v=28994244"></script>
|
||||
<script src="game.js?v=28994244"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,6 +5,7 @@ set -x
|
|||
# Replace the version code and name in gradle for fdroid and play store
|
||||
versionCode=$(($(date +%s) / 60))
|
||||
|
||||
# On macOS you should use -i '' not just -i, but i'm on linux
|
||||
sed -i -e "s/^[[:space:]]*versionCode = .*/ versionCode = $versionCode/" \
|
||||
-e "s/^[[:space:]]*versionName = .*/ versionName = \"$versionCode\"/" \
|
||||
./app/build.gradle.kts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue