diff --git a/src/elixir-asdf/README.md b/src/elixir-asdf/README.md index ed9da03..957528f 100644 --- a/src/elixir-asdf/README.md +++ b/src/elixir-asdf/README.md @@ -12,7 +12,7 @@ _Note: Ensure that `unzip` is installed beforehand as it is a required dependenc ```json "features": { "ghcr.io/rabdulwahhab/devcontainer-features/elixir-asdf:1": { - "version": "v1.19.4-otp-28" + "version": "1.19.4-otp-28" } } ``` diff --git a/src/elixir-asdf/devcontainer-feature.json b/src/elixir-asdf/devcontainer-feature.json index 14157c8..984b456 100644 --- a/src/elixir-asdf/devcontainer-feature.json +++ b/src/elixir-asdf/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "Elixir (via asdf)", "id": "elixir-asdf", - "version": "1.0.1", + "version": "1.0.2", "description": "Elixir is a dynamic, functional language for building scalable and maintainable applications.", "documentationURL": "http://github.com/rabdulwahhab/devcontainer-features/tree/main/src/elixir-asdf", "options": { diff --git a/src/elixir-asdf/install.sh b/src/elixir-asdf/install.sh index 921369f..585b5af 100755 --- a/src/elixir-asdf/install.sh +++ b/src/elixir-asdf/install.sh @@ -6,6 +6,10 @@ set -ex VERSION=${VERSION:-"latest"} +if [ "${VERSION}" != "latest" ]; then + VERSION=${VERSION#v} +fi + # Clean up rm -rf /var/lib/apt/lists/* diff --git a/test/elixir-asdf/scenarios.json b/test/elixir-asdf/scenarios.json index 527e4c3..5cbd525 100644 --- a/test/elixir-asdf/scenarios.json +++ b/test/elixir-asdf/scenarios.json @@ -10,7 +10,7 @@ "kerlConfigureOptions": "--disable-debug --without-javac" }, "elixir-asdf": { - "version": "v1.19.4-otp-28" + "version": "1.19.4-otp-28" } } }