From 98477221119a7b725ad5492dc1df357b771a9930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Perovi=C4=87?= Date: Wed, 11 Oct 2023 20:27:46 +0200 Subject: [PATCH] Delete gitlab.md --- content/guide/gitlab.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 content/guide/gitlab.md diff --git a/content/guide/gitlab.md b/content/guide/gitlab.md deleted file mode 100644 index 1f5f6bb..0000000 --- a/content/guide/gitlab.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: "How to Download Latest Release of a Package from Gitlab" -date: 2023-02-16 -lastmod: 2023-02-16 -tags: ["Git", "Gitlab", "GitHub"] ---- - -Gitlab currently lacks a convenient option to download the most recent package from a repository, -in contrast to Github. -Consequently, -one may require a script to obtain the latest package. - -Here is the simple script that download latest package. -{{< gist Fooftilly 3e10ab9f1211ea6ba3f272c070314850 >}} - -To execute this script successfully, -it is necessary to customize `` and ``. -The `` can be found by examining the page source of Gitlab repository and searching for: - -```html - -``` - -To fill in the `` field in the script, -copy the number from the value field. -To identify ``, -navigate to the release page of the repository and look for the pattern that each release follows. -For instance, -if each release contains a number, -copy the initial part of that file, -excluding the number. -In such a scenario, -if the file is named something like `project-release-1.3.5`, -`` should be substituted with `project-release-`. -The script will download only the first file with that specific pattern that it discovers.