Commit graph

21 commits

Author SHA1 Message Date
Justin Bassett 4d712493c6
Hopefully Escape quotes in changelog. (#4000) 2023-11-04 20:03:46 +00:00
Justin Bassett 14751ae235 Remove the backtick from release notes. 2023-10-06 12:49:00 -04:00
Justin Bassett 1bdde35ad2 Hopefully fix generating release notes. 2023-10-06 12:36:49 -04:00
Joris Pelgröm bf0479a46f
Update release notes action for new release model (#3748)
* Update release notes action for new release model

* Include newlines

* Switch to actions/github-script

* Fix token input

* Named arguments, get owner/repo from context

* Return specific data and update vars

* Last fixes, hopefully

* Set result encoding to string

* Prevent echo from printing directory contents
2023-08-01 15:51:58 -04:00
Justin Bassett b0a7641a1a
Fix dirty SCM (#3624)
* Add `git status` check to determine what's dirty.

* Put the locale stuff in the app/wear folders rather than common with the real data.

* Revert "Add `git status` check to determine what's dirty."

This reverts commit 8513c0b09f.

* Leave the git status check for sanity later.
2023-06-30 21:09:13 +00:00
Justin Bassett 0ef3bc4461
First attempt at a new release model. (#3597)
* First attempt at a new release model.

* Fix bad syntax

* Bump year and month with another job

* Use the plugin's version in apps.

* Make sure to generate the pre release weekly.

* Review Comments.
2023-06-26 09:05:17 -04:00
Justin Bassett b0d8ef625a
Make sure release keys are inflated. (#3447) 2023-03-31 22:47:51 +00:00
googlvalenzuela 8a322c624f
Android Automotive Module (#3423)
* Creation of Automotive Module and Fix OnboardingActivity parent Activity.

* Adding Manifest Dependencies.

* Fixing ktlint

* Remove unused import.

* Copy Google Services to android automotive

Github actions for PR require this to be set up in order for the build to pass.

* Missing two entries to copy the google-services.json file

* Fixing Build Process.

* Version code +2

We add 2 because the app, wear (+1) and automotive versions need to have different version codes.

* Update +3 per recomendation.

* Code to support transition from Full app to Car App Library.

* Fixing linter.

* More ktlin

/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:19:1 Needless blank line(s)
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:31:95 Unnecessary semicolon
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:39:1 Unexpected blank line(s) before "}"
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:44:1 First line in a method block should not be empty

* Changes to allow navigate back from / native and feedback from PR.

* Indentation fixes.
2023-03-31 17:54:33 -04:00
Justin Bassett 64afe45609
Update a bunch of Github Actions (#3092) 2022-11-22 15:25:42 -05:00
Joris Pelgröm c50ce30b5b
Update and fix in-app language picker (#3080)
* Manage app language using AndroidX, integrate with Android 13

 - Manage the app language using AndroidX to fix the setting not being applied and to be able to easily integrate with Android 13's system setting

* Move locales_config.xml to common

* Generate locales_config.xml when downloading translations

* Fix multiple variants for languages being collapsed into one

* Fix language codes with region variants

* Don't split languages when using app bundles

* Rename
2022-11-22 13:59:24 -05:00
Justin Bassett 8b4f3fa71f
Since Meta doesn't seem to want 2d apps yet we'll remove this build. (#2241)
* Since Meta doesn't seem to want 2d apps yet we'll remove this build.
This build was actually slowing down PR and release build times.

* Remove more quest references.

* More readme changes.
2022-02-04 15:38:18 -05:00
Daniel Shokouhi eede556a77
Initial commit of the Quest build (#2106)
* Initial commit of the Quest build

* Tweak readme
2022-01-04 19:32:45 -05:00
Justin Bassett 0555367c65
Move Strings to Common (#1971)
* Move all strings to common to make translations easier.

* Update lokalise github action.
2021-11-27 20:34:04 -05:00
Justin Bassett 8fbc55e97b
Enable publishing the Wear OS to Beta. (#1772)
* Enable publishing the Wear OS to Beta.

* Make versionCode different for wear app.
2021-10-13 22:42:23 -04:00
Justin Bassett 36281bfdc4
Don't use empty translations. (#1419) 2021-03-11 15:20:25 -05:00
Justin Bassett 3863bace50
Pull translations at build time (#1397)
* First attempt at pulling Lokalise at build time.

* Temporarily download in PRs.

* Remove null outputs

* Double quotes?

* Oops.

* Forgot the `inputs.`

* Don't override files (aka English).

* Override files when extracting...

* Put args on correct command.

* Now that it works remove push action.

* Fix copy pasta.
2021-03-05 10:37:49 -05:00
Justin Bassett 5bbfde42b1
Add some logging to release note generator. (#1370)
* Add some logging to release note generator.

* Add release note generation to PR builds.

* Update fetch depth.

* Remove command that is failing randomly...
2021-02-21 22:03:16 -05:00
Justin Bassett 3b614548d6
Feature/wear publishing (#1264)
* Cleanup .gitignore

* Move to just wear rather than wearos_app.

* Try to use lots of wildcards for debug pr build archiving.
2020-12-27 22:04:37 -05:00
Justin Bassett bd4a98e60a
Inflate secrets in wear os app. (#1252) 2020-12-22 23:16:28 -05:00
Justin Bassett 71d764cf40
Ensure only the master branch push creates a beta play store build. (#934) 2020-09-14 16:14:38 -04:00
Justin Bassett df621311b1
Build Enhancements (#866)
* Nicer changelog printing
* Cache the gradle Cache
* Playstore updated nightly not on commit.
2020-09-02 00:34:19 -04:00