Automatic deploy 28994240

This commit is contained in:
Renan LE CARO 2025-02-15 22:20:00 +01:00
parent edd00a5ed2
commit d38f63b810
3 changed files with 8 additions and 5 deletions

View file

@ -15,8 +15,8 @@ android {
applicationId = "me.lecaro.breakout" applicationId = "me.lecaro.breakout"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 34
versionCode = 28994204 versionCode = 28994240
versionName = "28994204" versionName = "28994240"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables { vectorDrawables {
useSupportLibrary = true useSupportLibrary = true

View file

@ -8,14 +8,14 @@
/> />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Breakout 𝟕𝟏</title> <title>Breakout 𝟕𝟏</title>
<link rel="stylesheet" href="style.css?v=28994204" /> <link rel="stylesheet" href="style.css?v=28994240" />
<link rel="icon" href="./icon.svg" /> <link rel="icon" href="./icon.svg" />
</head> </head>
<body> <body>
<button id="menu"><span> menu</span></button> <button id="menu"><span> menu</span></button>
<button id="score"></button> <button id="score"></button>
<canvas id="game"></canvas> <canvas id="game"></canvas>
<script src="levels.js?v=28994204"></script> <script src="levels.js?v=28994240"></script>
<script src="game.js?v=28994204"></script> <script src="game.js?v=28994240"></script>
</body> </body>
</html> </html>

View file

@ -12,6 +12,9 @@ sed -i '' -e "s/^[[:space:]]*versionCode = .*/ versionCode = $versionCode
# Invalidate web cache # Invalidate web cache
sed -i "s/\?v=[0-9]*/\?v=$versionCode/g" ./app/src/main/assets/index.html sed -i "s/\?v=[0-9]*/\?v=$versionCode/g" ./app/src/main/assets/index.html
# remove all exif metadata from pictures, because i think fdroid doesn't like that. odd
find -name '*.jp*g' -o -name '*.png' | xargs exiftool -all=
git add . git add .
git commit -m "Automatic deploy $versionCode" git commit -m "Automatic deploy $versionCode"