Skip to content

Commit 4d33223

Browse files
committed
chore: fix get git tag
1 parent 9bfd0ba commit 4d33223

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build_ppa.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
- name: Checkout on latest tag
2323
run: |
2424
# git tag
25-
# git tag | tail -1
26-
# git checkout $(git tag | tail -1)
25+
# git tag --sort=version:refname | tail -1
26+
# git checkout $(git tag --sort=version:refname | tail -1)
2727
# git status
2828
chmod +x ./**/*.sh
2929
chmod +x ./**/*.pl
30-
perl ./scripts/update_rev_changelog.pl "$(git tag | tail -1 | tr -d 'v')" "${{ github.event.inputs.rev }}"
30+
perl ./scripts/update_rev_changelog.pl "$(git tag --sort=version:refname | tail -1 | tr -d 'v')" "${{ github.event.inputs.rev }}"
3131
3232
- name: Cache src
3333
id: cache-src

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "figma-linux",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join as in Telegram: https://t.me/figma_linux",
55
"main": "src/main/index.ts",
66
"repository": "git@github.com:ChugunovRoman/figma-linux.git",

resources/figma-linux-appimage.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Terminal=false
66
Type=Application
77
Icon=figma-linux
88
StartupWMClass=figma-linux
9-
X-AppImage-Version=0.10.0
9+
X-AppImage-Version=0.10.1
1010
Categories=Graphics;
1111
MimeType=application/figma;x-scheme-handler/figma;

scripts/bump_version.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
exit 1;
88
}
99

10-
my $prevVersion = `git tag | tail -n1 | tr -d 'v' | tr -d '\n'`;
10+
my $prevVersion = `git tag --sort=version:refname | tail -n1 | tr -d 'v' | tr -d '\n'`;
1111

1212
printf("Bump %s to %s version.\n", $prevVersion, $version);
1313

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: figma-linux
2-
version: '0.10.0'
2+
version: '0.10.1'
33
summary: Unofficial Figma desktop app for Linux platform
44
description: |
55
Figma is the first interface design tool based in the browser,

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "figma-linux",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join as in Telegram: https://t.me/figma_linux",
55
"main": "main/main.js",
66
"repository": "git@github.com:ChugunovRoman/figma-linux.git",

0 commit comments

Comments
 (0)