8000 Merge pull request #5 from Sankra/1.1.0 · hjerpbakk/dotnet-script-docker@f3bfe25 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3bfe25

Browse files
authored
Merge pull request #5 from Sankra/1.1.0
Updated to version 1.1.0
2 parents c9138e4 + e5f7826 commit f3bfe25

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.0.1 at the time of writing:
10+
Example, shows the version of the dotnet script, 1.1.0 at the time of writing:
1111

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

15-
1.0.1
15+
1.1.0
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.0.1`.
34+
Where `:tag` is an optional version number, like `< 8D03 /span>:1.1.0`.

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.0.1 .
2+
docker build -t hjerpbakk/dotnet-script-local:1.1.0 .
33

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

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

0 commit comments

Comments
 (0)
0