Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMEEE committed Apr 25, 2024
1 parent e4275ee commit 1858486
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions new-scripts/generate-awx-source
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

set -x

source $(dirname "$0")/common-functions

VERSION=$(get_version)
Expand Down Expand Up @@ -53,7 +51,6 @@ DEPS=$DEPS$RHELDEPS
BUILDDEPS=$BUILDDEPS$"Build"$RHELDEPS
LASTVERSION=$(cd /opt/awx-rpm-v2/versions/ && git branch | sed 's/*/ /g' |grep -B 1 "$VERSION" | head -1)
CHANGELOG=$(cd /opt/awx-rpm-v2/awx/ && git log --oneline --decorate $LASTVERSION..$VERSION | cut -d" " -f2- | sed -e "s/^/- /g" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/\$/\\$/g')
echo $CHANGELOG
cp /opt/awx-rpm-v2/templates/awx-rpm-temp.spec /opt/awx-rpm-v2/versions/deps/awx-rpm.spec

sed -i "s/Release:.*$/Release: $NEWBUILDVERSION%{dist}/g" /opt/awx-rpm-v2/versions/deps/awx-rpm.spec
Expand Down

0 comments on commit 1858486

Please sign in to comment.