Browse Source

roll_release.sh: Autotag release

master
Andrea Luzzardi 18 years ago
parent
commit
431fd09053
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      pam_usb/src/pam.c
  2. +3
    -0
      roll_release.sh

+ 1
- 1
pam_usb/src/pam.c View File

@ -63,7 +63,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
return (PAM_IGNORE); return (PAM_IGNORE);
} }
log_info("pam_usb v.%s\n", PUSB_VERSION);
log_info("pam_usb v%s\n", PUSB_VERSION);
log_info("Authentication request for user \"%s\" (%s)\n", log_info("Authentication request for user \"%s\" (%s)\n",
user, service); user, service);


+ 3
- 0
roll_release.sh View File

@ -39,6 +39,9 @@ create_release()
cp -r $TRUNK_PATH ${SRC_PATH} cp -r $TRUNK_PATH ${SRC_PATH}
find "$SRC_PATH" -type d -name ".svn" -exec rm -rf "{}" + find "$SRC_PATH" -type d -name ".svn" -exec rm -rf "{}" +
echo "* Tagging release \"$1\""
sed -ri "s/(PUSB_VERSION) \"[^\"]*\"/\1 \"${1}\"/" ${SRC_PATH}/src/version.h
echo "* Creating tarball..." echo "* Creating tarball..."
cd $BUILD_ENV cd $BUILD_ENV
tar -zcf $TARBALL pam_usb-${1} tar -zcf $TARBALL pam_usb-${1}


Loading…
Cancel
Save