Skip to content

Commit 24cc8dc

Browse files
authored
Merge pull request #70 from 42Box/cluster_develop
Develop to Main: First Week Release
2 parents ae46910 + 68c6573 commit 24cc8dc

234 files changed

Lines changed: 4609 additions & 1058 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/Release-note.yml‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Author by chanhihi
2+
# Date 2023.08.09
3+
# name-template: "v$NEXT_MINOR_VERSION 🦊"
4+
# tag-template: "v$NEXT_MINOR_VERSION"
5+
6+
name-template: "v$RESOLVED_VERSION 🦊"
7+
tag-template: "v$RESOLVED_VERSION"
8+
version-resolver:
9+
major:
10+
labels:
11+
- "⚠️ Breaking changes"
12+
minor:
13+
labels:
14+
- "✨ Enhancement"
15+
patch:
16+
labels:
17+
- "⚒ Refactor"
18+
- "🐞 Bug"
19+
default: patch
20+
21+
categories:
22+
- title: "⚠️ Breaking changes"
23+
labels:
24+
- "⚠️ Breaking Change"
25+
- title: "🚀 Features"
26+
labels:
27+
- "✨ Enhancement"
28+
- "⚒ Refactor"
29+
- "🏛 Structure"
30+
- title: "🐛 Bug Fixes"
31+
labels:
32+
- "🐞 Bug"
33+
- title: "📚 Documentation"
34+
labels:
35+
- "📄 Documentation"
36+
- title: "🎨 Style"
37+
labels:
38+
- "💄 UI/UX"
39+
- title: "🏗 Infrastructure"
40+
labels:
41+
- "🌐 DevOps"
42+
exclude-labels:
43+
- "💖 Question"
44+
- "☂️ Umbrella"
45+
46+
change-template: "- $TITLE (#$NUMBER)"
47+
change-title-escapes: '\<*_&'
48+
49+
template: |
50+
## Changes
51+
$CHANGES

‎.github/semantic.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Author by chanhihi
2+
# Date 2023.08.09
3+
4+
types: # default: feat | fix | docs | style | refactor | perf | test | build | ci | chore | revert
5+
- feat
6+
- fix
7+
- docs
8+
- style
9+
- refactor
10+
- perf
11+
- test
12+
- build
13+
- ci
14+
- cd
15+
- wip
16+
- chore
17+
- revert
18+
- Develop to Main
19+
- Revert
20+
- Merge

‎.github/workflows/Deployment.yml‎

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Author by chanhihi
2+
# Date 2023.08.09
3+
4+
name: Deployment
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- cluster-main
10+
- main
11+
types:
12+
- closed
13+
14+
jobs:
15+
build:
16+
name: Deploy on macOS 11 - Archive / Release
17+
runs-on: macos-11
18+
env:
19+
XCODE_VERSION: "12.4.0"
20+
SWIFT_VERSION: "5.3"
21+
XCODE_PROJECT: "Box42.xcodeproj"
22+
XCODE_SCHEME: "Box42"
23+
XCODE_ARCHIVE_PATH: "Box42.xcarchive"
24+
XCODE_ARCHIVE_EXPORT_PATH: "./archive"
25+
XCODE_EXPORT_PATH: "./artifacts"
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v3
29+
30+
- name: Set Xcode version
31+
run: sudo xcode-select -s '/Applications/Xcode_12.4.0.app/Contents/Developer'
32+
33+
- name: Set SDK version
34+
run: echo 'SDKROOT=/Applications/Xcode_12.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' >> $GITHUB_ENV
35+
36+
- name: setup-swift
37+
uses: swift-actions/setup-swift@v1
38+
with:
39+
swift-version: 5.3
40+
41+
- name: Archive
42+
run: |
43+
mv Box42/Resources/ExportOptions.plist . &&
44+
xcodebuild archive -project $XCODE_PROJECT -scheme $XCODE_SCHEME -archivePath "$XCODE_ARCHIVE_EXPORT_PATH"/"$XCODE_ARCHIVE_PATH"
45+
46+
# - name: Distribute
47+
# run: |
48+
# mkdir -p artifacts &&
49+
# xcodebuild -exportArchive -archivePath "$XCODE_ARCHIVE_PATH" -exportOptionsPlist ExportOptions.plist -exportPath "$XCODE_EXPORT_PATH"
50+
51+
- name: Tagging
52+
id: tag_version
53+
uses: mathieudutour/github-tag-action@v6.1
54+
with:
55+
github_token: ${{ secrets.CHANHIHI }}
56+
57+
- name: Draft Release
58+
id: draft_release
59+
uses: release-drafter/release-drafter@v5
60+
with:
61+
config-name: Release-note.yml
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.CHANHIHI }}
64+
65+
# Artifact가 Archive 기능으로 사용할 부분
66+
- name: Upload Box42-Archive
67+
uses: actions/upload-artifact@v2
68+
with:
69+
name: Box42-${{ steps.tag_version.outputs.new_tag }}
70+
path: ${{ env.XCODE_ARCHIVE_EXPORT_PATH }}
71+
72+
# Distribute 기능 활성화시 Artifact에서 사용할 부분
73+
# - name: Upload Box42-Artifacts
74+
# uses: actions/upload-artifact@v2
75+
# with:
76+
# name: Box42-${{ steps.tag_version.outputs.new_tag }}
77+
# path: $XCODE_EXPORT_PATH

‎.github/workflows/swift.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Author by chanhihi
2+
# Date 2023.08.09
3+
4+
name: Swift Build
5+
6+
on:
7+
push:
8+
branches:
9+
- feat/*
10+
- fix/*
11+
- refactor/*
12+
13+
pull_request:
14+
branches:
15+
- cluster_develop
16+
17+
jobs:
18+
build:
19+
name: Swift 5.3 on macOS 11 - Swift Build Test
20+
runs-on: macos-11
21+
env:
22+
XCODE_VERSION: "12.4.0"
23+
SWIFT_VERSION: "5.3"
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v3
27+
28+
- name: Set Xcode version
29+
run: sudo xcode-select -s '/Applications/Xcode_12.4.0.app/Contents/Developer'
30+
31+
- name: Set SDK version
32+
run: echo 'SDKROOT=/Applications/Xcode_12.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' >> $GITHUB_ENV
33+
34+
- name: setup-swift
35+
uses: swift-actions/setup-swift@v1
36+
with:
37+
swift-version: 5.3
38+
39+
- name: Build
40+
run: |
41+
mkdir Sources &&
42+
mv Box42 Sources/Box42 &&
43+
swift build

‎.gitignore‎

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,101 @@
1+
### Swift ###
2+
# Xcode
3+
#
4+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
5+
6+
## User settings
7+
xcuserdata/
8+
9+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
10+
*.xcscmblueprint
11+
*.xccheckout
12+
13+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
14+
build/
15+
DerivedData/
16+
*.moved-aside
17+
*.pbxuser
18+
!default.pbxuser
19+
*.mode1v3
20+
!default.mode1v3
21+
*.mode2v3
22+
!default.mode2v3
23+
*.perspectivev3
24+
!default.perspectivev3
25+
26+
## Obj-C/Swift specific
27+
*.hmap
28+
29+
## App packaging
30+
*.ipa
31+
*.dSYM.zip
32+
*.dSYM
33+
34+
## Playgrounds
35+
timeline.xctimeline
36+
playground.xcworkspace
37+
38+
# Swift Package Manager
39+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
40+
# Packages/
41+
# Package.pins
42+
# Package.resolved
43+
# *.xcodeproj
44+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
45+
# hence it is not needed unless you have added a package configuration file to your project
46+
# .swiftpm
47+
48+
.build/
49+
50+
# CocoaPods
51+
# We recommend against adding the Pods directory to your .gitignore. However
52+
# you should judge for yourself, the pros and cons are mentioned at:
53+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
54+
# Pods/
55+
# Add this line if you want to avoid checking in source code from the Xcode workspace
56+
# *.xcworkspace
57+
58+
# Carthage
59+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
60+
# Carthage/Checkouts
61+
62+
Carthage/Build/
63+
64+
# Accio dependency management
65+
Dependencies/
66+
.accio/
67+
68+
# fastlane
69+
# It is recommended to not store the screenshots in the git repo.
70+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
71+
# For more information about the recommended setup visit:
72+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
73+
74+
fastlane/report.xml
75+
fastlane/Preview.html
76+
fastlane/screenshots/**/*.png
77+
fastlane/test_output
78+
79+
# Code Injection
80+
# After new code Injection tools there's a generated folder /iOSInjectionProject
81+
# https://github.com/johnno1962/injectionforxcode
82+
83+
iOSInjectionProject/
84+
85+
### Xcode ###
86+
87+
## Xcode 8 and earlier
88+
89+
### Xcode Patch ###
90+
*.xcodeproj/*
91+
!*.xcodeproj/project.pbxproj
92+
!*.xcodeproj/xcshareddata/
93+
!*.xcodeproj/project.xcworkspace/
94+
!*.xcworkspace/contents.xcworkspacedata
95+
/*.gcno
96+
**/xcshareddata/WorkspaceSettings.xcsettings
97+
198
.DS_Store
299
Box42/.DS_Store
100+
.prettierrc
101+
.swift-format

‎.tuist-version‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.22.0

0 commit comments

Comments
 (0)