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

Refresh Info.plist if changelog has changed #2978

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Jan 29, 2020

Problem

The package for 1.26.8 on OSX apparently includes the right EXE, but the app bundle property says 1.26.6:

screenshot

Cause

We had a snafu with Mono 6.6.0 in #2972, so all builds were regenerated by hand by @DasSkelett and replaced. Most likely he already had a file at _build/osx/dmg/CKAN.app/Contents/Info.plist generated previously with 1.26.6 in it. When he checked out the commit for 1.26.8 and recompiled, this file was not regenerated.

The Makefile directive for Info.plist uses both Info.plist.in and CHANGELOG.md (indirectly via the $(VERSION) variable) to generate its output, but only Info.plist.in is checked for changes currently.

Changes

Now Info.plist also depends on CHANGELOG.md, so it will be regenerated when we build a new version.

Fixes #2977.

@HebaruSan HebaruSan added Bug Something is not working as intended Pull request Build Issues affecting the build system macOS Issues specific for macOS Package: dmg Issues affecting macOS packaging labels Jan 29, 2020
@HebaruSan HebaruSan requested a review from DasSkelett January 29, 2020 20:10
Copy link
Member

@DasSkelett DasSkelett left a comment

Choose a reason for hiding this comment

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

Yep, works.

@HebaruSan HebaruSan merged commit ec4b83b into KSP-CKAN:master Jan 29, 2020
@HebaruSan HebaruSan deleted the fix/macos-plist branch January 29, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Build Issues affecting the build system macOS Issues specific for macOS Package: dmg Issues affecting macOS packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[macOS] version numbers of '1.26.8' release are broken
2 participants