Skip to content

Commit

Permalink
fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cesar roman committed Jan 23, 2024
1 parent ec46660 commit cd2fcbc
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cd2fcbc

Please sign in to comment.