Skip to content

Commit

Permalink
chore: add a first run notice detailing the version of amp-devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaegers committed Jan 9, 2025
1 parent 556d28b commit 16bab37
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .devcontainer/cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,6 @@ RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-14 20 \
RUN wget -qP /usr/local/lib/python*/dist-packages/cmake/data/share/cmake-*/Modules/ https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_VERSION}/CPM.cmake \
&& conan profile detect \
&& echo -e "\n[conf]\ntools.cmake.cmaketoolchain:generator=Ninja" >> "$(conan profile path default)"

COPY first-run-notice.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
RUN sed -i '/^<!--/d' /usr/local/etc/vscode-dev-containers/first-run-notice.txt
9 changes: 9 additions & 0 deletions .devcontainer/cpp/first-run-notice.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- x-release-please-start-version

🚀 Welcome to amp-devcontainer-cpp v5.5.4

Release notes for this version can be found ]8;;https://github.com/philips-software/amp-devcontainer/releases/tag/v5.5.4\here]8;;\

Happy coding!

<!-- x-release-please-end
3 changes: 3 additions & 0 deletions .devcontainer/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ RUN wget -qO - "https://github.com/cargo-bins/cargo-binstall/releases/download/v
&& cargo-binstall -y --locked [email protected] [email protected] [email protected] \
# cargo-binstall can't (yet) install probe-rs-tools for aarch64, fall-back to script installation
&& wget -qO - https://github.com/probe-rs/probe-rs/releases/download/v0.24.0/probe-rs-tools-installer.sh | sh

COPY first-run-notice.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
RUN sed -i '/^<!--/d' /usr/local/etc/vscode-dev-containers/first-run-notice.txt
9 changes: 9 additions & 0 deletions .devcontainer/rust/first-run-notice.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- x-release-please-start-version

🚀 Welcome to amp-devcontainer-rust v5.5.4

Release notes for this version can be found ]8;;https://github.com/philips-software/amp-devcontainer/releases/tag/v5.5.4\here]8;;\

Happy coding!

<!-- x-release-please-end
6 changes: 5 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
"packages": {
".": {
"package-name": "amp-devcontainer",
"release-type": "simple"
"release-type": "simple",
"extra-files": [
".devcontainer/cpp/first-run-notice.txt",
".devcontainer/rust/first-run-notice.txt"
]
}
},
"plugins": ["sentence-case"]
Expand Down

0 comments on commit 16bab37

Please sign in to comment.