Skip to content

Commit

Permalink
change set_version to use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
madiele committed Apr 30, 2023
1 parent 4ea8bc2 commit c46895b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions set_version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

if [ -f version.txt ]; then
cat version.txt
Expand All @@ -11,4 +11,4 @@ sed "s/^version = .*$/version = \"$VERSION\"/" Cargo.toml > Cargo.toml.tmp
VERSION_HTML="<small class=\"text-muted\">$VERSION<\/small>"
sed "s/<\!-- ###VERSION### -->/$VERSION_HTML/" templates/index.html > templates/index.html.tmp
mv Cargo.toml.tmp Cargo.toml
mv templates/index.html.tmp templates/index.html
mv templates/index.html.tmp templates/index.html.ttttt

0 comments on commit c46895b

Please sign in to comment.