Compare commits
10 Commits
debian/2.0
...
deb-auto/e
| Author | SHA1 | Date | |
|---|---|---|---|
| 4553f60150 | |||
| 077ad67c99 | |||
| 41277146a0 | |||
| 6c0578e466 | |||
| 15d5f9872c | |||
| 660ca7353d | |||
| 67e5e4de0f | |||
| bbae6b4395 | |||
| 2c03c5ba4d | |||
| 136c051c82 |
@@ -23,5 +23,39 @@ jobs:
|
|||||||
target/release/gt-tool-${{ github.ref_name }}-$(arch)
|
target/release/gt-tool-${{ github.ref_name }}-$(arch)
|
||||||
env:
|
env:
|
||||||
RELEASE_KEY_GITEA: ${{ secrets.RELEASE_KEY_GITEA }}
|
RELEASE_KEY_GITEA: ${{ secrets.RELEASE_KEY_GITEA }}
|
||||||
|
debian-release:
|
||||||
|
name: Build and upload the Debian 12 package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: debian:12
|
||||||
|
steps:
|
||||||
|
- name: Install Tools
|
||||||
|
run: >
|
||||||
|
apt-get update;
|
||||||
|
apt-get install -y --no-install-recommends
|
||||||
|
build-essential
|
||||||
|
git
|
||||||
|
git-buildpackage;
|
||||||
|
- name: Checkout Repo (can't use actions/checkout@v4, no NodeJS)
|
||||||
|
run: git clone ${{ github.event.repository.clone_url }}
|
||||||
|
- name: Switch to Debian package branch
|
||||||
|
run: git checkout deb
|
||||||
|
working-directory: ./gt-tool
|
||||||
|
- name: Install build-deps
|
||||||
|
run: apt-get build-dep -y .
|
||||||
|
working-directory: ./gt-tool
|
||||||
|
- name: Build the package
|
||||||
|
run: gbp buildpackage
|
||||||
|
working-directory: ./gt-tool
|
||||||
|
- name: Install the tool we just built
|
||||||
|
run: dpkg -i gt-tool*.deb # TODO: Pick out the exact version instead of globbing
|
||||||
|
- name: Upload the packaging parts
|
||||||
|
run: > # The file globs are like that to avoid matching the gt-tool/ folder. I don't want that uploaded.
|
||||||
|
gt-tool
|
||||||
|
-u ${{ vars.DEST_GITEA }} -r ${{ vars.DEST_REPO }}
|
||||||
|
upload-release
|
||||||
|
"${{ github.ref_name }}"
|
||||||
|
gt-tool-*
|
||||||
|
gt-tool_*
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
gt-tool (2.1.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Fix: incorrect field names for `Attachment`
|
||||||
|
|
||||||
|
-- Robert Garrett <robertgarrett404@gmail.com> Thu, 12 Jun 2025 17:51:12 -0500
|
||||||
|
|
||||||
gt-tool (2.0.0-1) unstable; urgency=medium
|
gt-tool (2.0.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Interrogate list_releases result more closely
|
* Interrogate list_releases result more closely
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ pub struct Attachment {
|
|||||||
name: String,
|
name: String,
|
||||||
size: i64,
|
size: i64,
|
||||||
download_count: i64,
|
download_count: i64,
|
||||||
created: String, // TODO: Date-time struct
|
created_at: String, // TODO: Date-time struct
|
||||||
uuid: String,
|
uuid: String,
|
||||||
download_url: String,
|
browser_download_url: String,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user