8000 Updated to version 1.2.1 · hjerpbakk/dotnet-script-docker@bf89740 · GitHub
[go: up one dir, main page]

Skip to 10000 content

Commit bf89740

Browse files
committed
Updated to version 1.2.1
1 parent f3bfe25 commit bf89740

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ This is a [Docker image](https://hub.docker.com/r/hjerpbakk/dotnet-script/) cont
77

88
## Runing scripts
99

10-
Example, shows the version of the dotnet script, 1.1.0 at the time of writing:
10+
Example, shows the version of the dotnet script, 1.2.1 at the time of writing:
1111

1212
```shell
1313
docker run --rm -it hjerpbakk/dotnet-script --version
1414

15-
1.1.0
15+
1.2.1
1616
```
1717

1818
Running the script `foo.csx` with one argument:
@@ -31,4 +31,4 @@ Standing in this folder, use the following command to build the image locally:
3131
docker build -t hjerpbakk/dotnet-script:tag .
3232
```
3333

34-
Where `:tag` is an optional version number, like `:1.1.0`.
34+
Where `:tag` is an optional version number, like `:1.2.1`.

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
2-
docker build -t hjerpbakk/dotnet-script-local:1.1.0 .
2+
docker build -t hjerpbakk/dotnet-script-local:1.2.1 .
33

44
ARGUMENT="42"
5-
RESULT=$(docker run --rm --volume="$PWD:/scripts:ro" hjerpbakk/dotnet-script-local:1.1.0 test.csx -- "$ARGUMENT")
5+
RESULT=$(docker run --rm --volume="$PWD:/scripts:ro" hjerpbakk/dotnet-script-local:1.2.1 test.csx -- "$ARGUMENT")
66

77
if [ "$RESULT" = "$ARGUMENT" ]; then
88
echo "dotnet-script ran successfully";

0 commit comments

Comments
 (0)
0