Skip to content

Commit 9fda428

Browse files
authored
ci: Remove publishing release assets (#1745)
1 parent 7be78ba commit 9fda428

File tree

4 files changed

+3
-151
lines changed

4 files changed

+3
-151
lines changed

.github/workflows/release-automated.yml

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ on:
33
push:
44
branches: [ master, release, alpha, beta ]
55
env:
6-
CI_XCODE_11: '/Applications/Xcode_11.7.app/Contents/Developer'
76
CI_XCODE_14: '/Applications/Xcode_14.2.app/Contents/Developer'
87

98
jobs:
109
release:
11-
runs-on: macos-11
10+
runs-on: macos-12
1211
outputs:
1312
current_tag: ${{ steps.tag.outputs.current_tag }}
1413
steps:
@@ -43,45 +42,6 @@ jobs:
4342
id: tag
4443
run: echo "::set-output name=current_tag::$(git describe --tags --abbrev=0 --exact-match || echo '')"
4544

46-
assets:
47-
needs: release
48-
if: needs.release.outputs.current_tag != ''
49-
runs-on: macos-11
50-
env:
51-
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
steps:
53-
- name: Checkout repository
54-
uses: actions/checkout@v2
55-
with:
56-
ref: ${{ needs.release.outputs.current_tag }}
57-
- name: Cache Gems
58-
id: cache-gems
59-
uses: actions/cache@v2
60-
with:
61-
path: vendor/bundle
62-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
63-
restore-keys: |
64-
${{ runner.os }}-gem-
65-
- name: Submodules and Bundle Install
66-
run: |
67-
git submodule update --init --recursive
68-
sudo gem install bundler
69-
bundle config set path 'vendor/bundle'
70-
bundle install
71-
carthage bootstrap --use-xcframeworks
72-
- name: Build Release
73-
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake package:release
74-
env:
75-
DEVELOPER_DIR: ${{ env.CI_XCODE_11 }}
76-
- name: Deploy assets
77-
uses: svenstaro/upload-release-action@v2
78-
with:
79-
repo_token: ${{ secrets.GITHUB_TOKEN }}
80-
file: build/release/*
81-
tag: ${{ needs.release.outputs.current_tag }}
82-
overwrite: true
83-
file_glob: true
84-
8545
publish-docs:
8646
needs: release
8747
if: needs.release.outputs.current_tag != ''

.github/workflows/release-manual-assets.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020

2121
---
2222

23-
A library that gives you access to the powerful Parse Server backend from your iOS, iPadOS, macOS, watchOS and tvOS app. For more information about the Parse Platform and its features, see the public [documentation][docs]. Check out some of the [apps using Parse](https://www.appsight.io/sdk/parse).
23+
A library that gives you access to the powerful Parse Server backend from your iOS, iPadOS, macOS, watchOS and tvOS app. For more information about the Parse Platform and its features, see the public [documentation][docs].
2424

2525
---
2626

2727
- [Getting Started](#getting-started)
2828
- [Alternative Installation Options](#alternative-installation-options)
29-
- [Download Builds](#download-builds)
3029
- [Compile Source](#compile-source)
3130
- [Add Sub-Project](#add-sub-project)
3231
- [How Do I Contribute?](#how-do-i-contribute)
@@ -48,10 +47,6 @@ Take a look at the public [documentation][docs] & [API][api] and start building.
4847

4948
### Alternative Installation Options
5049

51-
#### Download Builds
52-
53-
Dowload the compiled builds from the asset section in the [releases][releases] page.
54-
5550
#### Compile Source
5651

5752
If you want to manually compile the SDK, clone it locally, and run the following commands in the root directory of the repository:
@@ -70,15 +65,7 @@ bundle install
7065
bundle exec rake package:frameworks
7166
```
7267

73-
Compiled frameworks will be in multiple archives inside the `build/release` folder:
74-
- `Parse-iOS.zip`
75-
- `Parse-macOS.zip`
76-
- `Parse-tvOS.zip`
77-
- `Parse-watchOS.zip`
78-
- `ParseFacebookUtils-iOS.zip`
79-
- `ParseFacebookUtils-tvOS.zip`
80-
- `ParseTwitterUtils-iOS.zip`
81-
- `ParseUI.zip`
68+
Compiled frameworks will be inside the `build/release` folder.
8269

8370
#### Add Sub-Project
8471

@@ -97,8 +84,6 @@ We use the following libraries as dependencies inside of Parse:
9784

9885
[docs]: http://docs.parseplatform.org/ios/guide/
9986
[api]: http://parseplatform.org/Parse-SDK-iOS-OSX/api/
100-
[parseui-link]: https://github.com/parse-community/ParseUI-iOS
101-
[releases]: https://github.com/parse-community/Parse-SDK-iOS-OSX/releases
10287
[contributing]: https://github.com/parse-community/Parse-SDK-iOS-OSX/blob/master/CONTRIBUTING.md
10388
[bolts-framework]: https://github.com/BoltsFramework/Bolts-ObjC
10489
[ocmock-framework]: http://ocmock.org

Rakefile

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ namespace :package do
525525
desc 'Build all frameworks and starters'
526526
task :release do |_|
527527
Rake::Task['package:frameworks'].invoke
528-
Rake::Task['package:starters'].invoke
529528
end
530529

531530
desc 'Build and package all frameworks for the release'
@@ -598,50 +597,6 @@ namespace :package do
598597
Rake::Task['build:parse_live_query:macos'].invoke
599598
macos_lq_utils_framework_path = File.join(build_folder, 'macOS', 'ParseLiveQuery.framework')
600599
make_package(release_folder, [macos_lq_utils_framework_path], 'ParseLiveQuery-OSX.zip')
601-
602-
end
603-
604-
desc 'Build and package all starter projects for the release'
605-
task :starters, [:version] => :frameworks do |_, _args|
606-
require 'xcodeproj'
607-
608-
ios_starters = [
609-
File.join(script_folder, 'ParseStarterProject', 'iOS', 'ParseStarterProject'),
610-
File.join(script_folder, 'ParseStarterProject', 'iOS', 'ParseStarterProject-Swift')
611-
]
612-
ios_framework_archive = File.join(release_folder, package_ios_name)
613-
make_starter_package(release_folder, ios_starters, ios_framework_archive, package_starter_ios_name)
614-
615-
osx_starters = [
616-
File.join(script_folder, 'ParseStarterProject', 'OSX', 'ParseOSXStarterProject'),
617-
File.join(script_folder, 'ParseStarterProject', 'OSX', 'ParseOSXStarterProject-Swift')
618-
]
619-
osx_framework_archive = File.join(release_folder, package_macos_name)
620-
make_starter_package(release_folder, osx_starters, osx_framework_archive, package_starter_osx_name)
621-
622-
tvos_starters = [
623-
File.join(script_folder, 'ParseStarterProject', 'tvOS', 'ParseStarterProject-Swift')
624-
]
625-
tvos_framework_archive = File.join(release_folder, package_tvos_name)
626-
make_starter_package(release_folder, tvos_starters, tvos_framework_archive, package_starter_tvos_name)
627-
628-
watchos_starters = [
629-
File.join(script_folder, 'ParseStarterProject', 'watchOS', 'ParseStarterProject-Swift')
630-
]
631-
watchos_framework_archive = File.join(release_folder, package_watchos_name)
632-
watchos_starters.each do |project_path|
633-
`git clean -xfd #{project_path}`
634-
`mkdir -p #{project_path}/Frameworks/iOS && mkdir -p #{project_path}/Frameworks/watchOS`
635-
`cd #{project_path}/Frameworks/iOS && unzip -o #{ios_framework_archive}`
636-
`cd #{project_path}/Frameworks/watchOS && unzip -o #{watchos_framework_archive}`
637-
xcodeproj_path = Dir.glob(File.join(project_path, '*.xcodeproj'))[0]
638-
prepare_xcodeproj(xcodeproj_path)
639-
end
640-
make_package(release_folder, watchos_starters, package_starter_watchos_name)
641-
watchos_starters.each do |project_path|
642-
`git clean -xfd #{project_path}`
643-
`git checkout #{project_path}`
644-
end
645600
end
646601

647602
def make_package(target_path, items, archive_name)

0 commit comments

Comments
 (0)