Skip to content

Version 3.11.6.

Version 3.11.6. #131

Workflow file for this run

name: Releases
on:
push:
tags: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: 'false'
submodules: 'true'
- name: Generate version file
run: echo $(git -C $GITHUB_WORKSPACE describe --tags --abbrev=0) > version
- name: Build Flatpak
run: |
sudo apt-get update -qq
sudo apt-get install -y flatpak-builder
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install --noninteractive org.gnome.Platform/x86_64/45
sudo flatpak install --noninteractive org.gnome.Sdk/x86_64/45
make flatpak-repository
make flatpak-bundle
mv nyxt.flatpak nyxt-$(cat version).flatpak
- name: Generate release notes
run: |
echo "Release notes: https://nyxt-browser.com/article/release-$(cat version).org" >> release.txt
echo "" >> release.txt
echo "To compile from source, prefer the tarball including the submodules if you don't manage the Lisp dependencies yourself." >> release.txt
- name: Generate source archive with submodules
run: git ls-files --recurse-submodules | tar caf nyxt-$(cat version)-source-with-submodules.tar.xz -T-
- name: Release
uses: ncipollo/release-action@v1
with:
bodyFile: release.txt
artifacts: "nyxt-*.tar.xz*,*.flatpak"