Skip to content

Commit

Permalink
add patch version number to archive name
Browse files Browse the repository at this point in the history
  • Loading branch information
CGareau committed Nov 21, 2024
1 parent a7f5295 commit 66c4547
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,21 @@ jobs:
TAG=${{ steps.version.outputs.inforeport_version }}
echo "major_version=${TAG:0:1}" >> $GITHUB_OUTPUT
shell: bash

#4.82.2
- name: Get minor version
id: minor_version
run: |
TAG=${{ steps.version.outputs.inforeport_version }}
echo "minor_version=${TAG:2:2}" >> $GITHUB_OUTPUT
shell: bash

- name: Get patch version
id: patch_version
run: |
TAG=${{ steps.version.outputs.inforeport_version }}
echo "patch_version=${TAG:5:1}" >> $GITHUB_OUTPUT
shell: bash

- name: Download artifact 4D R
id: download-4D-R
run: |
Expand All @@ -69,8 +76,8 @@ jobs:
id: download
run: |
rm 4DIR/4D_Info_Report.zip
curl --ftp-ssl-reqd --user ${{ secrets.FTP_PRIVATE_LOGIN }}:'${{ secrets.FTP_PRIVATE_PASSWORD }}' --output ./4DIR/4D_Info_Report_v${{ steps.major_version.outputs.major_version }}_${{ steps.minor_version.outputs.minor_version }}_20R6.zip ${{ secrets.FTP_PRIVATE_PATH }}4D_Info_Report-R.zip
curl --ftp-ssl-reqd --user ${{ secrets.FTP_PRIVATE_LOGIN }}:'${{ secrets.FTP_PRIVATE_PASSWORD }}' --output ./4DIR/4D_Info_Report_v${{ steps.major_version.outputs.major_version }}_${{ steps.minor_version.outputs.minor_version }}_20.zip ${{ secrets.FTP_PRIVATE_PATH }}4D_Info_Report-LTS.zip
curl --ftp-ssl-reqd --user ${{ secrets.FTP_PRIVATE_LOGIN }}:'${{ secrets.FTP_PRIVATE_PASSWORD }}' --output ./4DIR/4D_Info_Report_v${{ steps.major_version.outputs.major_version }}_${{ steps.minor_version.outputs.minor_version }}_${{ steps.patch_version.outputs.patch_version }}_20R6.zip ${{ secrets.FTP_PRIVATE_PATH }}4D_Info_Report-R.zip
curl --ftp-ssl-reqd --user ${{ secrets.FTP_PRIVATE_LOGIN }}:'${{ secrets.FTP_PRIVATE_PASSWORD }}' --output ./4DIR/4D_Info_Report_v${{ steps.major_version.outputs.major_version }}_${{ steps.minor_version.outputs.minor_version }}_${{ steps.patch_version.outputs.patch_version }}_20.zip ${{ secrets.FTP_PRIVATE_PATH }}4D_Info_Report-LTS.zip
shell: bash

- name: Upload others assets
Expand Down
2 changes: 1 addition & 1 deletion README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Le composant `4D_Info_Report` sert à collecter un maximum d'informations :
# Comment installer ce composant ?

Il existe 2 manières d'installer ce composant :
* 1/ Automatiquement : en utilisant le gestionnaire des dépendances ([nouvelle fonctionnalité 4D, disponible à partir de la version 4D 20 R6](https://blog.4d.com/integrate-4d-components-directly-from-github/))
* 1/ Automatiquement : en utilisant le gestionnaire des dépendances ([nouvelle fonctionnalité 4D, disponible à partir de la version 4D 20 R6](https://blog.4d.com/fr/integrate-4d-components-directly-from-github/))
* 2/ Manuellement : en copiant collant le composant 4D_Info_Report dans le dossier `Components` du projet 4D (fonctionne avec toutes les versions de 4D)

**_1/ Automatiquement_**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ There are 2 ways to install this component:
}
```

* Restart 4D or 4D Server, the component will load automatically after reopening the 4D project.
* Restart 4D or 4D Server, the component will load automatically after reopening the 4D project

> For your information, the component will be downloaded into the:
> * ~/Library/Caches/4D/Dependencies/.github/4d/4D_Info_Report/ (on Mac)
Expand Down

0 comments on commit 66c4547

Please sign in to comment.