-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Gunnerson <[email protected]>
- Loading branch information
1 parent
fb4b93b
commit 387dcdc
Showing
18 changed files
with
704 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[alias] | ||
xtask = "run --package xtask --" | ||
|
||
[env] | ||
CARGO_WORKSPACE_DIR = { value = "", relative = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
on: | ||
push: | ||
# Uncomment to test against a branch | ||
#branches: | ||
# - ci | ||
tags: | ||
- 'v*' | ||
jobs: | ||
create_release: | ||
name: Create Github release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Get version from tag | ||
id: get_version | ||
run: | | ||
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then | ||
version=${GITHUB_REF#refs/tags/v} | ||
else | ||
version=0.0.0.${GITHUB_REF#refs/heads/} | ||
fi | ||
echo "version=${version}" >> "${GITHUB_OUTPUT}" | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name: v${{ steps.get_version.outputs.version }} | ||
name: Version ${{ steps.get_version.outputs.version }} | ||
body_path: RELEASE.md | ||
draft: true | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- | ||
When adding new changelog entries, use [Issue #0] to link to issues and | ||
[PR #0 @user] to link to pull requests. Then run: | ||
cargo xtask update-changelog | ||
to update the actual links at the bottom of the file. | ||
--> | ||
|
||
### Unreleased | ||
|
||
* Initial Rust release. The old Python implementation can be found in the `python` branch. ([PR #130 @chenxiaolong]) | ||
|
||
<!-- Do not manually edit the lines below. Use `cargo xtask update-changelog` to regenerate. --> | ||
[PR #130 @chenxiaolong]: https://github.com/chenxiaolong/avbroot/pull/130 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The changelog can be found at: [`CHANGELOG.md`](./CHANGELOG.md). | ||
|
||
--- | ||
|
||
See [`README.md`](./README.md) for information on how to install and use avbroot. | ||
|
||
The downloads are digitally signed. Please consider [verifying the digital signatures](./README.md#verifying-digital-signatures) of the binaries (or building from source) since avbroot is an application with access to your OTA/AVB signing keys. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=com.chiller3.avbroot.clearotacerts | ||
name=clearotacerts | ||
version=v1.0 | ||
versionCode=1 | ||
version=v0.1.0 | ||
versionCode=256 | ||
author=chenxiaolong | ||
description=Block A/B OTAs by clearing verification certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=com.chiller3.avbroot.oemunlockonboot | ||
name=oemunlockonboot | ||
version=v1.0 | ||
versionCode=1 | ||
version=v0.1.0 | ||
versionCode=256 | ||
author=chenxiaolong | ||
description=Enable OEM unlocking on every boot |
Oops, something went wrong.