Skip to content

Commit 85b7298

Browse files
committed
updated release scripts
1 parent d3d5ba9 commit 85b7298

1 file changed

Lines changed: 29 additions & 7 deletions

File tree

dev/scripts/release.fish

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -668,18 +668,40 @@ function phase5_aur_update
668668
end
669669
end
670670

671-
# Step 5.2: Push to AUR
672-
log_step "Pushing to AUR"
671+
# Step 5.2: Push pacsea-bin to AUR
672+
log_step "Pushing pacsea-bin to AUR"
673673

674674
if test "$DRY_RUN" = true
675-
log_info "[DRY-RUN] Would run aur-push"
675+
log_info "[DRY-RUN] Would run aur-push in $AUR_BIN_DIR"
676676
else
677-
log_info "Running aur-push..."
677+
cd "$AUR_BIN_DIR"
678+
log_info "Running aur-push in $AUR_BIN_DIR..."
679+
680+
aur-push
681+
682+
if test $status -eq 0
683+
log_success "Pushed pacsea-bin to AUR"
684+
else
685+
log_warn "aur-push may have failed"
686+
if not confirm_continue "Continue anyway?"
687+
return 1
688+
end
689+
end
690+
end
691+
692+
# Step 5.3: Push pacsea-git to AUR
693+
log_step "Pushing pacsea-git to AUR"
694+
695+
if test "$DRY_RUN" = true
696+
log_info "[DRY-RUN] Would run aur-push in $AUR_GIT_DIR"
697+
else
698+
cd "$AUR_GIT_DIR"
699+
log_info "Running aur-push in $AUR_GIT_DIR..."
678700

679701
aur-push
680702

681703
if test $status -eq 0
682-
log_success "Pushed to AUR"
704+
log_success "Pushed pacsea-git to AUR"
683705
else
684706
log_warn "aur-push may have failed"
685707
if not confirm_continue "Continue anyway?"
@@ -688,7 +710,7 @@ function phase5_aur_update
688710
end
689711
end
690712

691-
# Step 5.3: Sync PKGBUILDs back to Pacsea repo
713+
# Step 5.4: Sync PKGBUILDs back to Pacsea repo
692714
log_step "Syncing PKGBUILDs to Pacsea repo"
693715

694716
if test "$DRY_RUN" = true
@@ -731,7 +753,7 @@ function phase5_aur_update
731753
end
732754
end
733755

734-
# Step 5.4: Push wiki changes
756+
# Step 5.5: Push wiki changes
735757
log_step "Pushing Wiki Changes"
736758

737759
if test "$DRY_RUN" = true

0 commit comments

Comments
 (0)