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

[2/x] Archive supporting sources in release workflow #261

Merged

Conversation

andrewchang-bird
Copy link
Contributor

@andrewchang-bird andrewchang-bird commented Jan 8, 2022

Stack

📚 #266 [6/x] Update example projects to use 0.19.1
📚 #265 [5/x] Fix support for Swift library evolution
📚 #264 [4/x] Fix configurator relative path handling
📚 #263 [3/x] Fix package manager integrations
📚 #261 ← [2/x] Archive supporting sources in release workflow
📚 #260 [1/x] Fix CLI archiving and distribution

Overview

Adds a step to the build release artifacts job to archive the supporting sources at Sources/MockingbirdSupport along with the license file.

Test Plan

Building a supporting source archive with --archive creates a ZIP that includes the LICENSE.md and can be inflated.

% Sources/MockingbirdAutomationCli/buildAndRun.sh build supporting
[8/8] Build complete!
error: You must specify an archive location when building supporting sources
% Sources/MockingbirdAutomationCli/buildAndRun.sh build supporting --archive .build/mockingbird/archives/MockingbirdSupport.zip
[2/2] Build complete!
Creating archive at .build/mockingbird/archives/MockingbirdSupport.zip
% unzip .build/mockingbird/archives/MockingbirdSupport.zip
Archive:  .build/mockingbird/archives/MockingbirdSupport.zip
  inflating: MockingbirdSupport/LICENSE.md  
  inflating: MockingbirdSupport/.DS_Store  
   creating: MockingbirdSupport/UIKit/
  inflating: MockingbirdSupport/UIKit/UIView.swift  
  inflating: MockingbirdSupport/UIKit/UIViewController.swift  
  inflating: MockingbirdSupport/UIKit/UILabel.swift  
  inflating: MockingbirdSupport/UIKit/UIControl.swift  
   creating: MockingbirdSupport/Foundation/
   creating: MockingbirdSupport/Foundation/ObjectiveC/
  inflating: MockingbirdSupport/Foundation/ObjectiveC/NSObject.swift  
   creating: MockingbirdSupport/Swift/
  inflating: MockingbirdSupport/Swift/Hashable.swift  
  inflating: MockingbirdSupport/Swift/Comparable.swift  
  inflating: MockingbirdSupport/Swift/Misc.swift  
  inflating: MockingbirdSupport/Swift/Codable.swift  
  inflating: MockingbirdSupport/Swift/Equatable.swift  
   creating: MockingbirdSupport/AppKit/
  inflating: MockingbirdSupport/AppKit/NSResponder.swift  
  inflating: MockingbirdSupport/AppKit/NSView.swift  
  inflating: MockingbirdSupport/AppKit/NSViewController.swift  

@andrewchang-bird andrewchang-bird added this to the Release 0.19 milestone Jan 8, 2022
andrewchang-bird added a commit that referenced this pull request Jan 8, 2022
Adds a step to the build release artifacts job to archive the supporting
sources at `Sources/MockingbirdSupport` along with the license file.
Base automatically changed from dev/andrewchang-bird/fix-cli-archive to master January 10, 2022 19:52
@andrewchang-bird andrewchang-bird force-pushed the dev/andrewchang-bird/archive-supporting-sources branch from 1e15f07 to 1b1dbf5 Compare January 10, 2022 19:54
@andrewchang-bird andrewchang-bird merged commit 8b0221a into master Jan 10, 2022
@andrewchang-bird andrewchang-bird deleted the dev/andrewchang-bird/archive-supporting-sources branch January 10, 2022 20:40
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.

2 participants