This commit is contained in:
Alexander Zinchuk 2025-09-19 14:34:10 +02:00
parent 5e32fad59e
commit d4f4155967
7 changed files with 13 additions and 10 deletions

View File

@ -43,9 +43,11 @@ jobs:
id: extract-version
run: |
PACKAGE_VERSION=$(grep -m1 '^version' tauri/Cargo.toml | sed -E 's/.*"([^"]+)".*/\1/')
TAG_NAME="Tauri v${PACKAGE_VERSION}"
TAG_NAME="tauri_v${PACKAGE_VERSION}"
RELEASE_NAME="Tauri v${PACKAGE_VERSION}"
echo "package-version=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
echo "tag-name=$TAG_NAME" >> $GITHUB_OUTPUT
echo "release-name=$RELEASE_NAME" >> $GITHUB_OUTPUT
echo "should-publish=$SHOULD_PUBLISH" >> $GITHUB_OUTPUT
echo "Extracted version: $PACKAGE_VERSION"
echo "Generated tag: $TAG_NAME"
@ -101,12 +103,13 @@ jobs:
env:
PACKAGE_VERSION: ${{ needs.get-version.outputs.package-version }}
TAG_NAME: ${{ needs.get-version.outputs.tag-name }}
RELEASE_NAME: ${{ needs.get-version.outputs.release-name }}
run: |
echo "Creating draft release for tag: $TAG_NAME"
echo "Repository: $PUBLISH_REPO"
RESPONSE=$(curl -X POST \
-H "Authorization: token $GH_TOKEN" \
-d '{"tag_name": "'"$TAG_NAME"'", "name": "'"$TAG_NAME"'", "draft": true}' \
-d '{"tag_name": "'"$TAG_NAME"'", "name": "'"$RELEASE_NAME"'", "draft": true}' \
"https://api.github.com/repos/$PUBLISH_REPO/releases")
RELEASE_ID=$(echo "$RESPONSE" | jq -r '.id')
echo "Extracted Release ID: $RELEASE_ID"

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "telegram-t",
"version": "10.9.71",
"version": "10.9.73",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "telegram-t",
"version": "10.9.71",
"version": "10.9.73",
"license": "GPL-3.0-or-later",
"dependencies": {
"@cryptography/aes": "^0.1.1",

View File

@ -1,6 +1,6 @@
{
"name": "telegram-t",
"version": "10.9.71",
"version": "10.9.73",
"description": "",
"type": "module",
"main": "index.js",

View File

@ -1 +1 @@
10.9.71
10.9.73

View File

@ -21,7 +21,7 @@
font-size: 0.625rem;
font-weight: var(--font-weight-medium);
line-height: 0.875rem;
line-height: 0.75rem;
color: var(--accent-color);
text-align: center;
text-transform: uppercase;

View File

@ -47,9 +47,9 @@ export type TransitionProps = {
onScroll?: NoneToVoidFunction;
onMouseDown?: (e: React.MouseEvent<HTMLDivElement>) => void;
children: React.ReactNode | ChildrenFn;
'data-tauri-drag-region'?: true;
contentSelector?: string;
restoreHeightKey?: number;
'data-tauri-drag-region'?: true;
};
const FALLBACK_ANIMATION_END = 1000;
@ -92,9 +92,9 @@ function Transition({
onScroll,
onMouseDown,
children,
'data-tauri-drag-region': dataTauriDragRegion,
contentSelector,
restoreHeightKey,
'data-tauri-drag-region': dataTauriDragRegion,
}: TransitionProps) {
const currentKeyRef = useRef<number>();
// No need for a container to update on change

File diff suppressed because one or more lines are too long