Skip to content

Commit

Permalink
Update description, setup versioned releases (#11)
Browse files Browse the repository at this point in the history
* update description

* disable old workflow

* mmmmm

* create version file

* setup versioned releases

* prevent `:` from making it into the filename
  • Loading branch information
Samueru-sama authored Jan 14, 2025
1 parent 2cbb9da commit c24a3f7
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 19 deletions.
83 changes: 75 additions & 8 deletions .github/workflows/Dolphin_sharun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,80 @@ jobs:
run: |
chmod +x ./dolphin-emu-appimage.sh
./dolphin-emu-appimage.sh
mkdir dist
mv *.AppImage* dist/
- name: release
uses: "marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303"
- name: Check version file
run: |
cat ~/version
echo "APP_VERSION=$(cat ~/version)" >> "${GITHUB_ENV}"
- name: Upload artifact
uses: actions/[email protected]
with:
name: AppImage
path: 'dist'

- name: Upload version file
uses: actions/[email protected]
with:
title: Continuous Sharun
automatic_release_tag: continuous-Sharun-Artixlinux
prerelease: true
draft: false
files: /home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/*.AppImage*
repo_token: "${{ secrets.GITHUB_TOKEN }}"
name: version
path: ~/version

release:
needs: [build]
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
with:
name: AppImage
- uses: actions/[email protected]
with:
name: version

- name: Read version
run: |
cat version
export VERSION="$(<version)"
echo "APP_VERSION=${VERSION}" >> "${GITHUB_ENV}"
#Version Release
- name: Del Previous Release
run: |
gh release delete "${APP_VERSION}" --repo "${GITHUB_REPOSITORY}" --cleanup-tag -y
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
continue-on-error: true
- name: Continuous Releaser
uses: softprops/action-gh-release@v2
with:
name: "Dolphin Emulator AppImage ${{ env.APP_VERSION }}"
tag_name: "${{ env.APP_VERSION}}"
prerelease: false
draft: false
generate_release_notes: false
make_latest: true
files: |
*.AppImage*
continue-on-error: false

#Snapshot Release
- name: Get Date
run: |
SNAPSHOT_TAG="$(date --utc +'%Y%m%d-%H%M%S')"
echo SNAPSHOT_TAG="${SNAPSHOT_TAG}" >> "${GITHUB_ENV}"
continue-on-error: false
- name: Snapshot Releaser
uses: softprops/action-gh-release@v2
with:
name: "Snapshot ${{ env.APP_VERSION }}"
tag_name: "${{ env.SNAPSHOT_TAG }}"
prerelease: false
draft: false
generate_release_notes: false
make_latest: false
files: |
*.AppImage*
continue-on-error: false
3 changes: 0 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ name: CI

# Controls when the action will run.
on:
# Build at 00:00 on every 12th day-of-month.
schedule:
- cron: "0 0 */6 * *"
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Dolphin_emu_Appimage
<br> description:<br/>
# Dolphin-emu-AppImage

Unofficial AppImage of the Dolphin Emulator.
<br> Dolphin emu is a Nintendo Game Cube and Wii emulator, it allows the computer gammers enjoy both Consoles in the computer with the capability of 1080p <br/>
<br>The application works fine, just download it and form your terminal run `chmod a+x Dolphin_Emulator-x86_64.AppImage` then `./Dolphin_Emulator-x86_64.AppImage` or just double click upon it.<br/>

**This AppImage bundles everything and should work on any linux distro, even on musl based ones.** <br>Please if you find a bug open an issue<br/>

########################################################################
<br> Thank you for sharing this project across the internet! <br/>
<br> If you like it don't forget to give an star. <br/>
<br> By the way this is an unofficial project. <br/>
<br> If you like it don't forget to give a star. <br/>
########################################################################
<br>The application works fine. just download it and form your terminal run this command `chmod a+x Dolphin_Emulator-x86_64.AppImage`<br/>
then
<br>./Dolphin_Emulator-x86_64.AppImage or just double click upon it.<br/>
<br>Please if you find a bug open an issue<br/>

<h1>Telegram Group<h1/>
<h1>https://t.me/appimagelucasmz1<h1/>
3 changes: 3 additions & 0 deletions dolphin-emu-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ LIB4BN="https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bi
ICON="https://github.com/dolphin-emu/dolphin/blob/master/Data/dolphin-emu.png?raw=true"
UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|latest|*$ARCH.AppImage.zsync"

export VERSION="$(pacman -Q dolphin-emu | awk 'NR==1 {print $2; exit}' | tr ':' '.')"
echo "$VERSION" > ~/version

# Prepare AppDir
mkdir -p ./AppDir && cd ./AppDir

Expand Down

0 comments on commit c24a3f7

Please sign in to comment.