Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Update to latest stackage and cabal.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dretch committed Jul 27, 2024
1 parent fc47a8d commit 7c06dc5
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-flatpak-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [workflow_dispatch]
jobs:
generate-flatpak-manifest:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push]
jobs:
build:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:

Expand All @@ -26,6 +26,9 @@ jobs:
stack-setup-ghc: true
enable-stack: true

- name: 'Check cabal version'
run: cabal --version

- name: 'Check package metadata'
run: cabal check

Expand All @@ -46,7 +49,7 @@ jobs:

needs: [build]

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

environment:
name: hackage
Expand All @@ -57,6 +60,9 @@ jobs:
with:
name: package

- name: 'Check cabal version'
run: cabal --version

- name: 'Publish Package to Hackage'
run: cabal upload --publish -u "$HACKAGE_USERNAME" -p "$HACKAGE_PASSWORD" */*/*.tar.gz
env:
Expand Down
5 changes: 5 additions & 0 deletions assets/io.github.Dretch.MonomerFlatpakExample.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
</screenshots>

<releases>
<release version="0.0.15.6" date="2024-07-27">
<description>
<p>Upgrade to latest Stackage LTS and Cabal 3.12.1.0 (allows uploading to Hackage with a token rather than username and password).</p>
</description>
</release>
<release version="0.0.15.5" date="2024-05-19">
<description>
<p>Upgrade to latest Stackage LTS, simplify desktop file insertion.</p>
Expand Down
2 changes: 1 addition & 1 deletion monomer-flatpak-example.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: monomer-flatpak-example
version: 0.0.15.5
version: 0.0.15.6
synopsis: Monomer Flatpak Example Application.
description: An example of how to package Monomer apps with Flatpak.
category: GUI, Flatpak
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: monomer-flatpak-example
version: 0.0.15.5
version: 0.0.15.6
license: MIT
synopsis: Monomer Flatpak Example Application.
description: An example of how to package Monomer apps with Flatpak.
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-22.22
resolver: lts-22.31

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
8 changes: 4 additions & 4 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
hackage: monomer-hagrid-0.3.1.2
snapshots:
- completed:
sha256: 4be1ca5d31689b524a7f0f17a439bbe9136465213edc498e9a395899a670f2aa
size: 718486
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/22.yaml
original: lts-22.22
sha256: acaab6ca693211938d1542abcb1c83a2f298b9f6b571854a9d38febe39b6408e
size: 719577
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/31.yaml
original: lts-22.31

0 comments on commit 7c06dc5

Please sign in to comment.