Commit graph

114 commits

Author SHA1 Message Date
Bassett, Justin 482414f62a Fix incorrect if on creating github pre-release. 2023-07-09 08:37:41 -04:00
Bassett, Justin 024df4be32 Manually trigger the weekly release workflow. 2023-07-09 08:16:02 -04:00
Justin Bassett 938c515549
Allow weekly workflow to start push workflow
https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
2023-07-02 15:54:43 -04:00
Justin Bassett 39269d065c
Use old logic for promoting from internal to beta 2023-07-01 07:07:24 -04:00
Joris Pelgröm ce3a51e417
Fix monthly tag (#3628) 2023-07-01 06:25:21 -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
Joris Pelgröm e8fae5dc50
Move vehicle service to main to allow for minimal Automotive build (#3570)
* Move vehicle service to minimal to allow for minimal Automotive build

 - Move the vehicle package from full to main so it is included in the minimal build as well, to allow for a minimal Automotive build
 - Adjust dependencies from full to any version (checked: the androidx.car dependency does not have a dependency on any GMS libraries)
 - Move Automotive CarAppActivity + service + metadata to main manifest; not moved in app module because it is only used for Android Auto there
 - Adjust GitHub Actions to include minimal Automotive APK

* Cleanup duplicate Play Services coroutines dependency

* Cleanup duplicate <uses-feature> for camera

* Missed one GMS dependency
2023-06-19 14:09:10 -04:00
dependabot[bot] 6b03613352
Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0 (#3474)
* Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump Gradle version

* Build default values changes

 - Remove items that match new defaults
 - Add item to keep old default to allow for those changes to happen in another PR

* Align target Kotlin version with target Java version

* Use JDK 17

* Remove one more item that now matches default

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
2023-04-24 21:05:20 -04:00
Bassett, Justin b22eb713c2 Let publishing of Automotive fail. 2023-03-31 22:04:29 -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
dependabot[bot] e1f797add7
Bump actions/setup-java from 3.10.0 to 3.11.0 (#3438)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 10:43:01 +02:00
Joris Pelgröm 65d3a8acac
Update issue template selection (#3405)
* Disable blank issue option

* Add link to companion docs

* Add link to Discord
2023-03-08 10:08:13 -05:00
dependabot[bot] 196a65013a
Bump actions/setup-java from 3.9.0 to 3.10.0 (#3317)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 20:35:15 -05:00
Daniel Shokouhi e9aab182db
Update issue template to be more specific (#3297)
* Update issue template to be more specific

* Review comments

* Remove mention of android auto for versions
2023-02-06 07:41:15 -05:00
Justin Bassett 1e910e7ec7
Bunch of Android Auto enhancements (#3225)
* Bunch of Android Auto enhancements

* Bump icon sizes.

* Formatting.

* Review Fixes.

* Ooops.

* Missed size.
2023-01-13 13:27:35 -05:00
Justin Bassett ee4272a168
Initial Android Auto Support (#3211)
* Initial work on Android Auto support.

* Get some toggling working, add a main view that is useful.

* Make sure we can test this on every commit.

* Migrate to full flavor.
2023-01-11 17:31:53 -05:00
George Adams 59dfe7c769
Migrate setup-java action to use Temurin (#3172)
* Migrate setup-java action to use Temurin

AdoptOpenJDK has moved to the Eclipse Foundation and now distributes binaries under the new name "Eclipse Temurin"

* Update pr.yml

* Update release.yml

* Update weekly.yaml
2022-12-30 19:52:44 -05:00
Justin Bassett 1a4e3d3b98
Use full version for amazon deployment. 2022-12-22 11:20:12 -05:00
Justin Bassett efc4f0af49
Migrate to more recently updated Action. (#3163) 2022-12-19 04:42:57 +00:00
Justin Bassett ce8049729e
Add support for publishing to Amazon on release. (#3162)
* Add support for publishing to Amazon on release.

* Fix beta deploys....
2022-12-19 04:11:15 +00:00
Justin Bassett d5f8de3ce8
Fix build that I accidentally pushed to master.... 2022-12-18 22:27:53 -05:00
Bassett, Justin 994fdc264c Remove all remaining deprecated Github Actions. 2022-12-18 22:24:05 -05:00
dependabot[bot] a5bbe2bccc
Bump actions/setup-java from 3.6.0 to 3.9.0 (#3154)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.9.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.9.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 15:18:39 +00:00
Justin Bassett e9fe00917c
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0" (#3139)
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)"

This reverts commit 17368c3a39.
2022-12-06 01:10:19 +00:00
dependabot[bot] 17368c3a39
Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:54:15 -05:00
Bassett, Justin 6a0b18525b Make sure package is included in Sentry.
The documentation doesn't mention it but it worked previously with other action so let's try...
2022-11-22 15:51:03 -05: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
dependabot[bot] a7f37560f2
Bump bruceadams/get-release from 1.3.1 to 1.3.2 (#3004)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 13:22:01 -04:00
Joris Pelgröm c7db22163e
Add database checks to PR workflow (#3000)
* Add database checks to PR workflow

* Update step names
2022-10-28 13:18:29 -04:00
dependabot[bot] 4189a908ce
Bump bruceadams/get-release from 1.2.3 to 1.3.1 (#2996)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 17:15:10 -04:00
dependabot[bot] 1cee64c768
Bump actions/setup-java from 3.5.1 to 3.6.0 (#2975)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.5.1...v3.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 19:17:11 +00:00
dependabot[bot] b2b976b3d6
Bump actions/setup-java from 3.5.0 to 3.5.1 (#2925)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 16:16:07 -04:00
dependabot[bot] 8713bb9678
Bump actions/setup-java from 3.4.1 to 3.5.0 (#2869)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.4.1...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-10 19:34:35 +00:00
dependabot[bot] 36cee5cd04
Bump actions/setup-java from 3.4.0 to 3.4.1 (#2671)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 23:24:11 -04:00
dependabot[bot] f9019a6361
Bump actions/setup-java from 3.3.0 to 3.4.0 (#2632)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2022-06-26 18:36:17 +00:00
dependabot[bot] b7428d454b
Bump actions/setup-java from 3.2.0 to 3.3.0 (#2504)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 17:40:45 -04:00
dependabot[bot] 883b949282
Bump actions/setup-java from 3.1.1 to 3.2.0 (#2479)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-30 07:59:41 -04:00
dependabot[bot] b117ec60c3
Bump actions/setup-java from 3.0.0 to 3.1.1 (#2448)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.0.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 18:43:32 -04:00
dependabot[bot] 164cef80fa
Bump actions/cache from 2 to 3 (#2394)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 20:18:21 -04:00
dependabot[bot] 0714d0a321
Bump actions/checkout from 2 to 3 (#2331)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 19:03:04 -05:00
dependabot[bot] f4084ce5b6
Bump actions/setup-java from 2.5.0 to 3.0.0 (#2318)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.5.0 to 3.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.5.0...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 17:35:51 -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
Justin Bassett efa9f93065
We will now update the Playstore listing via the repo. (#2224)
* We will now update the Playstore listing via the repo.

* Also on release.
2022-02-01 16:21:35 -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 18453a1297 Fix publish error. 2022-01-04 18:31:20 -05:00
Justin Bassett 8011d763e0
Update Release Workflow (#2081)
Ensure that we upload a release version of the wear apk along with publishing a text document with the version code.
2021-12-28 09:03:52 -05:00
dependabot[bot] adc8bb383a
Bump actions/setup-java from 2.4.0 to 2.5.0 (#2054)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 07:19:36 -05:00