-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cesar roman
committed
Jan 23, 2024
1 parent
ec46660
commit cd2fcbc
Showing
1 changed file
with
0 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,37 +82,12 @@ jobs: | |
- name: Gradlew Pre-Release | ||
run: | | ||
# git config --global user.name 'embrace-ci[bot]' | ||
# git config --global user.email '[email protected]' | ||
# git config --global url."https://${{ secrets.CD_GITHUB_USER }}:${{ secrets.CD_GITHUB_TOKEN }}@github.com".insteadOf "https://github.com" | ||
sed -i -r "s#version = ([^\']+)#version = ${{ github.event.inputs.current_version }}#" gradle.properties | ||
git add gradle.properties | ||
git commit -m "CI/CD: change version to be released: ${{ github.event.inputs.current_version }}" | ||
git push | ||
./gradlew clean publishReleasePublicationToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --stacktrace | ||
# - name: Generate Documentation | ||
# run: ./gradlew dokkaHtml | ||
# | ||
# - name: Publish gh-pages | ||
# run: | | ||
# mv docs .docs-newly-generated # new docs generated by previous step | ||
# git checkout gh-pages | ||
# git rm -rf docs # old docs on gh-pages branch | ||
# mv .docs-newly-generated docs | ||
# date > docs/version.txt | ||
# echo ${{ github.sha }} >> docs/version.txt | ||
# echo ${{ github.event.release.tag_name }} >> docs/version.txt | ||
# git add -f docs | ||
# git config --global user.name "embrace-ci" | ||
# git config --global user.email "[email protected]" | ||
# git commit --allow-empty --message 'CI/CD: Automatically generated documentation for ${{ github.event.release.tag_name }}' docs/ | ||
# git push --force origin gh-pages | ||
|
||
# - name: Record SDK Version History (${{ github.event.inputs.current_version }}) | ||
# run: | | ||
# curl -X POST ${{ vars.SDK_VERSION_URL }}/android/version/ -H 'X-Embrace-CI: ${{ secrets.SDK_VERSION_TOKEN }}' -H 'Content-Type: application/json' -d '{"version": "${{ github.event.inputs.current_version }}"}' | ||
|
||
- name: Checkout Swazzler | ||
uses: actions/checkout@v3 | ||
with: | ||
|