Skip to content

Commit

Permalink
Merge pull request #13 from NBISweden/feat/refer-to-latest-sda-cli
Browse files Browse the repository at this point in the history
Refer to latest version of sda-cli
  • Loading branch information
MalinAhlberg authored Sep 11, 2024
2 parents 2bd552a + 390de2f commit d27e64b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
3 changes: 1 addition & 2 deletions _variables.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
email:
helpdesk: [email protected]
sda-cli-version: 0.1.0
helpdesk: [email protected]
30 changes: 6 additions & 24 deletions datasets/submission/submission-guide.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,13 @@ where you keep the data you intend to encrypt and submit.
### Linux

1. Download the `sda-cli` executable that matches your system from the
[GitHub repository](https://github.com/NBISweden/sda-cli/releases).
[GitHub repository](https://github.com/NBISweden/sda-cli/releases/latest).

To for example download the x86 executable, type the following on
the command line:

``` bash
curl -OL https://github.com/NBISweden/sda-cli/releases/download/v{{< var sda-cli-version >}}/sda-cli_.{{< var sda-cli-version >}}_Linux_x86_64.tar.gz
```

2. Extract the binary by using the `tar` command:

``` bash
tar -xvzf sda-cli_.{{< var sda-cli-version >}}_Linux_x86_64.tar.gz
tar -xvzf sda-cli_.vX_Linux_x86_64.tar.gz
```

The `sda-cli` executable should now be in the same directory as the
Expand All @@ -43,19 +37,13 @@ where you keep the data you intend to encrypt and submit.
### Mac

1. Download the `sda-cli` executable that matches your system from the
[GitHub repository](https://github.com/NBISweden/sda-cli/releases).
[GitHub repository](https://github.com/NBISweden/sda-cli/releases/latest).

To for example download the x86 executable, type the following on
the command line:

``` bash
curl -OL https://github.com/NBISweden/sda-cli/releases/download/v{{< var sda-cli-version >}}/sda-cli_.{{< var sda-cli-version >}}_Darwin_x86_64.tar.gz
```

2. Extract the binary by using the `tar` command:

``` bash
tar -xvzf sda-cli_.{{< var sda-cli-version >}}_Darwin_x86_64.tar.gz
tar -xvzf sda-cli_.vX_Darwin_x86_64.tar.gz
```

The `sda-cli` executable should now be in the same directory as the
Expand All @@ -64,19 +52,13 @@ where you keep the data you intend to encrypt and submit.
### Windows

1. Download the `sda-cli` executable that matches your system from the
[GitHub repository](https://github.com/NBISweden/sda-cli/releases).

To for example download the x86 executable, type the following on
the command line (should work using the Windows command promt):
[GitHub repository](https://github.com/NBISweden/sda-cli/releases/latest).

``` bash
curl -OL https://github.com/NBISweden/sda-cli/releases/download/v{{< var sda-cli-version >}}/sda-cli_.{{< var sda-cli-version >}}_Windows_x86_64.zip
```

2. Extract the binary by using the `tar` command:

``` bash
tar -xvzf sda-cli_.{{< var sda-cli-version >}}_Windows_x86_64.zip
tar -xvzf sda-cli_.vX_Windows_x86_64.zip
```

The `sda-cli` executable should now be in the same directory as the
Expand Down

0 comments on commit d27e64b

Please sign in to comment.