Skip to content

Commit

Permalink
fix(release): set owner and group to 0 when re-packaging data.tar.xz
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Dec 24, 2022
1 parent baaa6bf commit 99c8590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic-release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
mkdir tar-hack
tar -C tar-hack -xf "${DATA_ARCHIVE}"
pushd tar-hack || exit 1
tar c${EXTRA_TAR_ARGS}f "../${DATA_ARCHIVE}" ./*
tar c${EXTRA_TAR_ARGS}f "../${DATA_ARCHIVE}" --owner=0 --group=0 ./*
popd || exit 1
tar tf "${DATA_ARCHIVE}"
ar r "${DEB_FILE_NAME}" "${DATA_ARCHIVE}"
Expand Down

0 comments on commit 99c8590

Please sign in to comment.