Experiment with hosting .debs on gemfury
This commit is contained in:
4 files changed
+29
-3
No files matched your search
@@ -114,3 +114,8 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *.sha256"
|
||||
- name: "Upload to gemfury"
|
||||
env:
|
||||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
|
||||
shell: bash
|
||||
run: "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"
|
||||
+11
-1
@@ -251,9 +251,19 @@ EOF
|
||||
Ubuntu*|Debian*)
|
||||
rm -rf pkg
|
||||
mkdir -p pkg/debian/usr/bin pkg/debian/DEBIAN pkg/debian/usr/share/{applications,wezterm}
|
||||
|
||||
if [[ "$BUILD_REASON" == "Schedule" ]] ; then
|
||||
pkgname=wezterm-nightly
|
||||
conflicts=wezterm
|
||||
else
|
||||
pkgname=wezterm
|
||||
conflicts=wezterm-nightly
|
||||
fi
|
||||
|
||||
cat > pkg/debian/control <<EOF
|
||||
Package: wezterm
|
||||
Package: $pkgname
|
||||
Version: ${TAG_NAME#nightly-}
|
||||
Conflicts: $conflicts
|
||||
Architecture: $(dpkg-architecture -q DEB_BUILD_ARCH_CPU)
|
||||
Maintainer: Wez Furlong <wez@wezfurlong.org>
|
||||
Section: utils
|
||||
|
||||
@@ -593,7 +593,16 @@ cargo build --all --release""",
|
||||
patterns.append("*.sha256")
|
||||
glob = " ".join(patterns)
|
||||
|
||||
return steps + [
|
||||
if self.container == "ubuntu:22.04":
|
||||
steps += [
|
||||
RunStep(
|
||||
"Upload to gemfury",
|
||||
f"for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done",
|
||||
env={"FURY_TOKEN": "${{ secrets.FURY_TOKEN }}"},
|
||||
),
|
||||
]
|
||||
|
||||
return [
|
||||
ActionStep(
|
||||
"Download artifact",
|
||||
action="actions/download-artifact@v3",
|
||||
@@ -605,7 +614,7 @@ cargo build --all --release""",
|
||||
f"bash ci/retry.sh gh release upload --clobber nightly {glob}",
|
||||
env={"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"},
|
||||
),
|
||||
]
|
||||
] + steps
|
||||
|
||||
def upload_asset_tag(self):
|
||||
steps = []
|
||||
|
||||
@@ -38,6 +38,8 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
* [PaneSelect](config/lua/keyassignment/PaneSelect.md) new modes `MoveToNewTab`,
|
||||
`MoveToNewWindow`, and `SwapWithActiveKeepFocus`, as well as
|
||||
`show_pane_ids=true` to show the pane ids. #4147 #3014
|
||||
* Nightly `.deb` packages are now named `wezterm-nightly` rather than `wezterm`,
|
||||
and are set to conflict with `wezterm`.
|
||||
|
||||
#### New
|
||||
* [wezterm imgcat](cli/imgcat.md) now has `--position`, `--no-move-cursor` and
|
||||
|
||||
Reference in new issue
Block a user