Skip to content

Commit

Permalink
ci: fix regex for packagecloud arch match
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Nov 25, 2024
1 parent 3c98748 commit f1e838c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/build_publish_to_packagecloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ the client used by application developers to communicate with tsuru server."
_build_all_packages(){
INPUT_DIRS=$(find dist -type d -name "tsuru_linux_*")
for INPUT_DIR in $INPUT_DIRS; do
ARCH=$(echo "${INPUT_DIR}" | sed -e 's/.*tsuru_linux_//' -e 's/_v[0-9]\+//' )
ARCH=$(echo "${INPUT_DIR}" | sed -e 's/.*tsuru_linux_\([^_]\+\)_.*/\1/' )
PACKAGE_FILE_DEB="${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCH}.deb"
PACKAGE_FILE_RPM="${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCH}.rpm"

Expand Down

0 comments on commit f1e838c

Please sign in to comment.