Skip to content

Commit

Permalink
Merge pull request #27 from cassidyjames/flatpak
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
cassidyjames authored Aug 10, 2021
2 parents 1f68e17 + 4cdb788 commit 527c6f1
Show file tree
Hide file tree
Showing 13 changed files with 99 additions and 62 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest

container:
image: ghcr.io/elementary/flatpak-platform/runtime:daily
options: --privileged

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
with:
bundle: clairvoyant.flatpak
manifest-path: com.github.cassidyjames.clairvoyant.yml
run-tests: true
repository-name: appcenter
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"

lint:
name: Lint
runs-on: ubuntu-latest

container:
image: valalang/lint

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Lint
run: io.elementary.vala-lint -d .
12 changes: 0 additions & 12 deletions .github/workflows/compress-images.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
- uses: actions/checkout@v1
- uses: elementary/actions/gettext-template@master
env:
GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
GIT_USER_NAME: "cassidyjames"
GIT_USER_EMAIL: "c@ssidyjam.es"
with:
translation_branch: 'main'
12 changes: 0 additions & 12 deletions .github/workflows/lint.yml

This file was deleted.

30 changes: 20 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
---

name: Release

on:
pull_request:
branches: main
types: closed

jobs:
release:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
steps:
- uses: actions/checkout@v1
- uses: elementary/actions/release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_branch: 'hera'
create_release:
name: Create Release
runs-on: ubuntu-latest

if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Release
uses: elementary/actions/release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_branch: 'odin'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*~
build/
.flatpak-builder/
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

15 changes: 15 additions & 0 deletions com.github.cassidyjames.clairvoyant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
app-id: com.github.cassidyjames.clairvoyant
runtime: io.elementary.Platform
runtime-version: '6'
sdk: io.elementary.Sdk
command: com.github.cassidyjames.clairvoyant
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
modules:
- name: clairvoyant
buildsystem: meson
sources:
- type: dir
path: .
16 changes: 14 additions & 2 deletions data/com.github.cassidyjames.clairvoyant.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@
</screenshot>
</screenshots>
<releases>
<release version="2.0.0" date="2021-08-09">
<description>
<p>Hello, Odin</p>
<ul>
<li>Updated for OS 6 and Flatpak</li>
<li>Turkish translations thanks to Safak GENISOL</li>
<li>Portuguese translations thanks to André Barata</li>
<li>Spanish translations thanks to @kevincos5</li>
</ul>
</description>
</release>
<release version="1.1.4" date="2020-02-20">
<description>
<p>Refreshed icons thanks to Micah Ilbery</p>
Expand Down Expand Up @@ -121,9 +132,10 @@
<url type="help">https://cassidyjames.com/support</url>
<!--url type="contact">https://cassidyjames.com/support</url-->
<custom>
<value key="x-appcenter-color-primary">#fff</value>
<value key="x-appcenter-color-primary-text">#485a6c</value>
<value key="x-appcenter-color-primary">#0e141f</value>
<value key="x-appcenter-color-primary-text">#fff</value>
<value key="x-appcenter-suggested-price">1</value>
<value key="x-appcenter-stripe">pk_live_MzEz9Fza8ow47eRWJUuXktda00xmU0FR9J</value>
</custom>
</component>

Binary file modified data/screenshot-maybe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/screenshot-no.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'com.github.cassidyjames.clairvoyant',
'vala', 'c',
version: '1.1.4'
version: '2.0.0'
)

gnome = import('gnome')
Expand Down

0 comments on commit 527c6f1

Please sign in to comment.