Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Update genversion.sh script work as expected in --print-only mo… #1897

Closed
wants to merge 1 commit into from

Conversation

esindril
Copy link
Contributor

@esindril esindril commented Feb 7, 2023

…de with user given version

The behavior of the genversion.sh script does not work as advertised for the --print-only flag. Namely when passing the USER_VERSION parameter this is not taken into consideration. As it's the case when used from this location:
https://github.com/xrootd/xrootd/blob/master/packaging/makesrpm.sh#L137

This pull request fixes this issue and makes the general behavior more consistent with the expectations.

genversion.sh Outdated
done
fi

echo "user version: ${USER_VERSION} and sourcepath: ${SOURCEPATH}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this statement meant to be in the final version?

@esindril
Copy link
Contributor Author

esindril commented Feb 7, 2023

No ... fixed! :)

@esindril
Copy link
Contributor Author

esindril commented Feb 7, 2023

This is already fixed in master. All works fine!

@esindril esindril closed this Feb 7, 2023
@esindril esindril deleted the fix-genversion-script branch February 7, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants