Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
one more test
  • Loading branch information
EgorPopelyaev committed May 24, 2024
commit 6ede5bf67a1462d10b81e11a996d50e2c2130394
30 changes: 15 additions & 15 deletions .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ jobs:
# - name: Download artifacts
# uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4

# - name: Prepare draft
# id: draft
# env:
# RUSTC_STABLE: ${{ needs.get-rust-versions.outputs.rustc-stable }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare draft
id: draft
env:
RUSTC_STABLE: ${{ needs.get-rust-versions.outputs.rustc-stable }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ASSET_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/asset-hub-rococo-runtime/asset-hub-rococo-srtool-digest.json
# ASSET_HUB_WESTEND_DIGEST: ${{ github.workspace}}/asset-hub-westend-runtime/asset-hub-westend-srtool-digest.json
# BRIDGE_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/bridge-hub-rococo-runtime/bridge-hub-rococo-srtool-digest.json
Expand All @@ -95,16 +95,16 @@ jobs:
# PEOPLE_WESTEND_DIGEST: ${{ github.workspace}}/people-westend-runtime/people-westend-srtool-digest.json
# ROCOCO_DIGEST: ${{ github.workspace}}/rococo-runtime/rococo-srtool-digest.json
# WESTEND_DIGEST: ${{ github.workspace}}/westend-runtime/westend-srtool-digest.json
# run: |
# . ./.github/scripts/common/lib.sh

# export REF1=$(get_latest_release_tag)
# if [[ -z "${{ inputs.version }}" ]]; then
# export REF2="${{ github.ref_name }}"
# else
# export REF2="${{ inputs.version }}"
# fi
# echo "REL_TAG=$REF2" >> $GITHUB_ENV
run: |
. ./.github/scripts/common/lib.sh

export REF1=$(get_latest_release_tag)
if [[ -z "${{ inputs.version }}" ]]; then
export REF2="${{ github.ref_name }}"
else
export REF2="${{ inputs.version }}"
fi
echo "REL_TAG=$REF2" >> $GITHUB_ENV
# export VERSION=$(echo "$REF2" | sed -E 's/^v([0-9]+\.[0-9]+\.[0-9]+).*$/\1/')

# ./scripts/release/build-changelogs.sh
Expand Down