Update package version to 4.0.2

This commit is contained in:
2025-08-07 20:35:27 +03:00
parent 6d09ed785b
commit 6728889b3d
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Github repository
REPO="fish-shell/fish-shell"
# Get tag name using Github Rest API
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
# Trim 'v' character in VERSION variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION"
+1 -1
View File
@@ -1,6 +1,6 @@
name: fish name: fish
description: A smart and user-friendly command line shell description: A smart and user-friendly command line shell
version: 4.0.1 version: 4.0.2
url: https://fishshell.com/ url: https://fishshell.com/
license: GPL2,PSF2,MIT,LGPL2 license: GPL2,PSF2,MIT,LGPL2
architecture: any architecture: any