Skip to content

Commit

Permalink
Eliminate --depth 1 from submodule init
Browse files Browse the repository at this point in the history
It turns out that with this flag, LoRaMac-node version detection does
not work because the tags are missing.
  • Loading branch information
janakj committed Feb 5, 2023
1 parent 7f44033 commit e5bb2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ mkdir -p "$firmware_dir" "$python_dir" "$clone_dir"

git clone . "$clone_dir"

# Switch to the temporary directory and check out the newly created tag.
# Switch to the clone in temporary directory and update its submodules.
cd "$clone_dir"
echo "Updating git submodules ..."
git submodule update --depth 1 --init
git submodule update --init

# Create a signed and annotated tag in the local git repository clone. Fail if
# the tag already exists.
Expand Down

0 comments on commit e5bb2df

Please sign in to comment.